-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.js
30 lines (30 loc) · 945 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": "airbnb",
"plugins": [
"react"
],
"globals": {
"document": true,
"window": true,
"describe": true,
"it": true,
"Headers": true,
"Request": true,
"fetch": true,
"sessionStorage": true,
"localStorage": true
},
"rules": {
"arrow-body-style": 0,
"no-underscore-dangle": ["error", {"allow": ["__REDUX_DEVTOOLS_EXTENSION__", "__REDUX_DEVTOOLS_EXTENSION_COMPOSE__"]}],
"indent": ["error", 4],
"react/jsx-indent": ["error", 4],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-indent-props": [2, 4],
"import/prefer-default-export": 0,
"no-underscore-dangle": 0,
"react/no-did-mount-set-state": 0,
"no-restricted-syntax": [0, "ForOfStatement"],
"jsx-a11y/no-static-element-interactions": 0
}
};