-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
45 lines (45 loc) · 1.08 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
44
45
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"jsx-a11y/click-events-have-key-events": ["off"],
"jsx-a11y/no-static-element-interactions": ["off"],
"max-len": ["error", { "code": 80 }],
"no-param-reassign": ["error", { "props": false }],
"react/default-props-match-prop-types": ["error"],
"react/forbid-prop-types": ["off"],
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-sort-props": ["error", { "ignoreCase": true }],
"react/no-unused-prop-types": ["error"],
"react/no-unused-state": ["error"],
"react/require-default-props": ["error"],
"react/sort-prop-types": ["error", { "ignoreCase": true }],
"sort-keys": ["error", "asc", { "caseSensitive": false }]
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.base.js"
}
},
"react": {
"version": "16.13.1"
}
}
}