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