-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.js
46 lines (46 loc) · 977 Bytes
/
.eslintrc.js
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
43
44
45
46
module.exports = {
"extends": "airbnb-base",
"plugins": [
"import",
"react",
"class-property"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"classes": true,
}
},
"rules": {
"react/prop-types": 1,
"react/jsx-uses-vars": 2,
"no-underscore-dangle": 0,
"comma-dangle": ["error", "only-multiline"],
"prefer-const": "off",
"no-plusplus": "off",
"no-param-reassign": 0,
"no-return-assign": 0,
"global-require": 0,
"arrow-parens": 0,
"prefer-template": 0,
"no-nested-ternary": 0,
"no-mixed-operators": 0,
"no-confusing-arrow": 0,
"prefer-arrow-callback": 0,
"prefer-arrow-callback": 0,
"func-names": 0,
"object-curly-newline": 0,
"class-methods-use-this": 0,
},
"env": {
"browser": true,
"mocha": true,
},
"globals" : {
"artifacts": false,
"contract": false,
"assert": false,
"web3": false
},
};