-
Notifications
You must be signed in to change notification settings - Fork 29
/
.eslintrc
43 lines (42 loc) · 1.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
41
42
43
{
"extends": [
"airbnb",
"plugin:import/errors",
"plugin:import/warnings"
],
"parser": "babel-eslint",
"rules": {
"react/require-extension": "off",
"react/jsx-filename-extension": ["warn", {
"extensions": [".js", ".jsx"]
}],
"react/prefer-es6-class": "off",
"react/require-default-props": "warn",
"react/no-unused-prop-types": "warn",
"react/forbid-prop-types": "warn",
"react/no-array-index-key": "off",
"react/no-unescaped-entities": "warn",
"import/extensions": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"no-tabs": "error",
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "never"
}],
"import/newline-after-import": "off",
"import/no-extraneous-dependencies": ["warn", {
"devDependencies": true,
"optionalDependencies": true,
"peerDependencies": true
}],
"max-len": ["error", 160],
"new-cap": "off"
},
"env": {
"node": true,
"browser": true
}
}