-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
38 lines (38 loc) · 829 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"jest": 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"]
},
"globals": {
"describe": false,
"it": false
}
}