-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
44 lines (44 loc) · 1.29 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
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": ["next", "prettier"],
"globals": {},
"settings": {
"import/resolver": {
"node": {
"paths": ["components", "utils"]
}
}
},
"rules": {
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/static-property-placement": "off",
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"import/no-unresolved": "off",
"react/state-in-constructor": "off",
"react/jsx-fragments": "off",
"jsx-a11y/anchor-is-valid": "off",
"no-console": ["error", { "allow": ["warn", "error", "info"] }],
// to be removed once ready
"react/require-default-props": "off",
"react/button-has-type": "off",
"react/destructuring-assignment": "off",
"jsx-a11y/click-events-have-key-events": "off",
"react/no-access-state-in-setstate": "off",
"react/no-array-index-key": "off",
"no-restricted-globals": "off",
"react/sort-comp": "off",
"import/prefer-default-export": "off",
"import/extensions": "off",
"import/no-anonymous-default-export": "off",
"@next/next/no-img-element": "off",
"react-hooks/exhaustive-deps": "off"
}
}