-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
74 lines (73 loc) · 1.42 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"semi": [
2,
"never"
],
"import/order": [
"error"
],
"max-len": [
"error",
{
"code": 100,
"ignoreComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}
],
"camelcase": 0,
"no-console": 1,
"space-before-function-paren": 0,
"arrow-parens": 0,
"import/no-unresolved": 0,
"import/no-named-as-default": 0,
"import/prefer-default-export": 0,
"react/no-array-index-key": 0,
"react/prop-types": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-first-prop-new-line": 1,
"react/jsx-one-expression-per-line": 0,
"react/jsx-max-props-per-line": [
1,
{
"maximum": 4
}
],
"import/no-anonymous-default-export": 0,
"no-unused-vars": [
"error",
{
"vars": "all"
}
],
"no-empty-function": 0,
"no-undef": "error",
"import/extensions": 0,
"react/function-component-definition": [
2,
{
"namedComponents": "arrow-function"
}
],
"default-param-last": 0
}
}