-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
40 lines (40 loc) · 951 Bytes
/
.eslintrc.json
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
{
"extends": "airbnb",
"globals": {
"document": true,
"window": true
},
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"react/prop-types": 0,
"class-methods-use-this": 0,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "never"
}],
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"no-unused-expressions": ["error", { "allowTernary": true }],
"no-underscore-dangle": ["error", { "allow": [
"__REDUX_DEVTOOLS_EXTENSION_COMPOSE__"
] }],
"no-console": 0,
"no-nested-ternary": 0,
"no-restricted-syntax": [
2,
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"react/jsx-filename-extension": [0, {
"extensions": [".js", ".jsx"]
}]
}
}