-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (43 loc) · 901 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"destructuring": true,
"modules": true,
"blockBindings": true,
"forOf": true,
"jsx": true
},
"plugins": [
"react"
],
"rules": {
"brace-style": [2, "1tbs"],
"comma-style": 2,
"curly": [2, "multi-line"],
"indent": 2,
"no-unused-expressions": 0,
"no-underscore-dangle": 0,
"quotes": [2, "single", "avoid-escape"],
"eqeqeq": 2,
"strict": 2,
"no-undef": 2,
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"react/jsx-no-undef": 2,
"react/jsx-quotes": 2,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/react-in-jsx-scope": 2,
"react/prop-types": 2,
"semi": 2,
"space-before-blocks": 2,
"space-after-keywords": 2,
"space-in-parens": 0,
"strict": 0
}
}