-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
47 lines (47 loc) · 1.26 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
{
"extends": ["plugin:import/errors", "prettier", "next"],
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"settings": {
"import/resolver": {
"alias": {
"extensions": [".js", ".jsx"],
"map": [["@", "."]]
}
}
},
"rules": {
"@next/next/no-img-element": 0,
"arrow-body-style": 0,
"default-case": 0,
"import/no-cycle": [2, { "maxDepth": 1 }],
"import/prefer-default-export": 0,
"jsx-a11y/label-has-associated-control": [
2,
{ "assert": "either", "depth": 3 }
],
"jsx-a11y/anchor-is-valid": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-console": "error",
"no-unused-vars": "error",
"no-restricted-properties": 0,
"no-unreachable": 0,
"no-undef": "error",
"prefer-arrow-callback": ["error", { "allowNamedFunctions": true }],
"react/destructuring-assignment": 0,
"react/display-name": 0,
"react/forbid-prop-types": 0,
"react/jsx-no-bind": 0,
"react/jsx-no-undef": [2, { "allowGlobals": true }],
"react/jsx-props-no-spreading": 0,
"react/no-array-index-key": 0,
"react/no-unescaped-entities": ["error", { "forbid": [">", "}"] }],
"react/prop-types": 0,
"react/require-default-props": 0
}
}