-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
75 lines (75 loc) · 1.81 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true,
"jsx": true
},
"rules": {
"babel/object-shorthand": 1,
"accessor-pairs": 0,
"comma-dangle": [1, "never"],
"comma-spacing": [1, {"before": false, "after": true}],
"comma-style": [2, "last"],
"consistent-return": 2,
"dot-location": [
2,
"property"
],
"dot-notation": 2,
"eol-last": 2,
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"no-bitwise": 0,
"no-const-assign": 2,
"no-debugger": 2,
"no-empty": 2,
"no-multi-spaces": 2,
"no-shadow": 0,
"no-unreachable": 1,
"no-unused-expressions": 2,
"no-unused-vars": [
2,
{
"args": "none",
"varsIgnorePattern": "_",
"argsIgnorePattern": "_"
}
],
"object-curly-spacing": [1, "never"],
"quotes": [
2,
"single",
"avoid-escape"
],
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-key": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-direct-mutation-state": 2,
"react/wrap-multilines": 1,
"space-after-keywords": 2,
"space-before-blocks": 2,
"space-in-parens": [1, "never"],
"strict": [
2,
"global"
]
},
"env": {
"browser": true,
"es6": true,
"mocha": true
},
"plugins": [
"react",
"babel"
],
"parser": "babel-eslint"
}