forked from ReactTraining/classic-react-workshop
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 770 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"plugins": [
"import",
"react"
],
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended"
],
"settings": {
"import/resolver": "webpack"
},
"rules": {
"array-bracket-spacing": [ 1, "always" ],
"comma-dangle": [ 1, "never" ],
"eqeqeq": [ 2, "smart" ],
"jsx-quotes": [ 1, "prefer-double" ],
"no-unused-vars": 0,
"object-curly-spacing": [ 1, "always" ],
"quotes": [ 1, "single", "avoid-escape" ],
"react/jsx-space-before-closing": [ 1, "never" ],
"react/no-did-mount-set-state": 0,
"react/prop-types": 1,
"semi": [ 1, "never" ],
"space-before-blocks": [ 1, "always" ]
}
}