-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (38 loc) · 858 Bytes
/
.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",
"ignore": [
"./node_modules/**"
],
"parserOptions": {
"sourceType": "module",
"modules": true,
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [ "react" ],
"extends": ["eslint:recommended", "plugin:react/recommended"],
"rules": {
// "no-undefined": 2,
// "no-undef-init": 2,
"handle-callback-err": [2, "^(err|error)$" ],
"strict": 0,
"quotes": [1, "single"],
"comma-dangle": 0,
"no-console": 0,
"no-undef": [2],
"max-statements": [1, 16],
"complexity": [1, 12]
// "react/jsx-no-bind": 0,
// "react/no-did-update-set-state": 2,
// "react/no-unknown-property": 2,
// "react/prop-types": 2
}
}