-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
37 lines (37 loc) · 928 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
{
"extends": "eslint:recommended",
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [
"react"
],
"parser": "babel-eslint",
"rules": {
"comma-dangle": [ 2, "always-multiline" ],
"eol-last": 2,
"indent": [ 2, 2, { "SwitchCase": 1 } ],
"jsx-quotes": [ 2, "prefer-double" ],
"no-multiple-empty-lines": 2,
"no-unused-vars": 2,
"no-var": 2,
"no-fallthrough": 0,
"object-curly-spacing": [ 2, "always" ],
"quotes": [ 2, "single", "avoid-escape" ],
"semi": [ 2, "never" ],
"strict": 0,
"space-before-blocks": [ 2, "always" ],
"space-before-function-paren": [ 2, { "anonymous": "always", "named": "never" } ],
"react/jsx-uses-react": 2,
"no-console": 0,
"react/jsx-uses-vars": 2,
"react/jsx-curly-spacing": [2, "never"],
"no-constant-condition": 0
}
}