-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (45 loc) · 1.1 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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"react/function-component-definition": [
0,
{
"namedComponents": "arrow-function"
}
],
"react/prop-types": 0,
"prefer-regex-literals": 1,
"consistent-return": 0,
"max-len": [2, 250],
"react/jsx-props-no-spreading": 0,
"import/no-cycle": 1,
"no-unused-expressions": 1,
"no-param-reassign" : 1,
"no-nested-ternary": 1,
"no-shadow": 1,
"jsx-a11y/no-static-element-interactions": 1,
"jsx-a11y/click-events-have-key-events": 1,
"jsx-a11y/label-has-associated-control": 1,
"linebreak-style": 0,
"react/jsx-one-expression-per-line": 0,
"no-plusplus": 0
}
}