-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 1 KB
/
.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
{
"env": {
"es6": true
},
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"rules": {
"brace-style": [2, "1tbs"],
"comma-style": [2, "last"],
"indent": [2, 4, { "SwitchCase": 1 }],
"no-constant-condition": 2,
"semi": [2, "always"],
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"strict": [2, "never"],
"quotes": [2, "single"],
"react/self-closing-comp": 1,
"react/jsx-no-duplicate-props": 2,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/react-in-jsx-scope": 1
},
"plugins": [
"react"
],
"globals": {
"__dirname": false,
"require": false,
"module": false,
"exports": false,
"window": false,
"document": false,
"it": false,
"describe": false
}
}