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