-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (42 loc) · 1.04 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"parser": "babel-eslint",
"env": {
// in CommonJS
"node": true,
// browser
"browser": true,
// mocha
"mocha": true
},
"rules": {
"semi": [ "error", "never" ],
"quotes": [ 2, "single", "avoid-escape" ],
"strict": [2, "never"],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": "off",
"no-unused-vars": [ 2, {"vars": "all", "args": "none"} ],
"eqeqeq": [ 2, "smart" ],
"key-spacing": [ 2, { "beforeColon": false, "afterColon": true } ],
"no-console": 0
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react"
],
"extends": ["eslint:recommended", "plugin:react/recommended"],
"globals": {
"React": true,
"ReactBootstrap": true,
"console": true,
"Promise": true,
"ethereum": true,
"web3": true,
"Web3": true
}
}