-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
50 lines (46 loc) · 1015 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
43
44
45
46
47
48
49
50
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"mocha": true
},
"globals": {
"React": true
},
"plugins": [
"react"
],
"rules": {
"no-console": 0,
"arrow-spacing": [2, {
"before": true,
"after": true
}
],
"no-var": 2,
"no-trailing-spaces": 2,
"indent": [2, 4, {
"SwitchCase": 1
}
],
"object-curly-spacing": [2, "never"],
"react/no-deprecated": [2],
"react/prop-types": [2],
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-indent": [2, 4],
"react/self-closing-comp": [2, {
"component": true,
"html": false
}
]
}
}