-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy path.eslintrc.json
38 lines (38 loc) · 1.2 KB
/
.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
{
"parser": "babel-eslint",
"extends": [
"plugin:import/errors",
"plugin:import/warnings",
"airbnb"
],
"rules": {
"indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"react/jsx-indent": ["error", 4],
"no-var": "error",
"comma-dangle": ["error", "never"],
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/no-unresolved": 0,
"react/react-jsx-no-bind": 0,
"react/react-in-jsx-scope": 0,
"react/jsx-filename-extension": 0,
"react/prop-types": 0,
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"class-methods-use-this": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/control-has-associated-label": 0,
"jsx-a11y/label-has-associated-control": 0,
"import/extensions": 0
},
"env": {
"browser": true
}
}