-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
46 lines (46 loc) · 1.04 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
39
40
41
42
43
44
45
46
{
"plugins": [
"promise"
],
"extends": [
"airbnb",
"plugin:promise/recommended"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"no-console": "off",
"no-underscore-dangle": "off",
"comma-dangle": "off",
"max-len": "off",
"react/jsx-filename-extension": "off",
"no-unused-vars": "warn",
"no-restricted-syntax": "warn",
"no-plusplus": "off",
"no-use-before-define": "warn",
"react/jsx-one-expression-per-line": "off",
"react/destructuring-assignment": "off",
"react/no-unused-state": "warn",
"react/sort-comp": "off",
"class-methods-use-this": "off",
"react/prefer-stateless-function": "off",
"no-param-reassign": "warn",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
},
"parser": "@typescript-eslint/parser"
}