forked from tvillarete/ipod-classic-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 1.2 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
{
"extends": "next/core-web-vitals",
"ignorePatterns": ["**/build/**"],
"plugins": ["unused-imports"],
"rules": {
"unused-imports/no-unused-imports": "error",
"import/first": "error",
"import/no-mutable-exports": "error",
"import/no-self-import": "error",
"import/no-unresolved": "error",
"import/no-useless-path-segments": "error",
"import/prefer-default-export": ["off"],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"react/jsx-fragments": ["error", "syntax"],
"react/jsx-pascal-case": ["off"],
"react/jsx-props-no-spreading": ["off"],
"react/jsx-uses-react": "off",
"react/jsx-curly-brace-presence": [
"error",
{ "props": "never", "children": "never" }
],
"react/no-access-state-in-setstate": "off",
"react/no-did-update-set-state": "off",
"react/prefer-stateless-function": "error",
"react/react-in-jsx-scope": "off",
"react/require-default-props": ["off"],
"react/state-in-constructor": ["off"],
"react/static-property-placement": ["off"],
"quotes": [
"error",
"double",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
]
}
}