-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
36 lines (36 loc) · 1.02 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
{
"env": {
"es2021": true
},
"extends": [
"next/core-web-vitals",
"eslint:all",
"plugin:react/all",
"next"
],
"rules": {
"no-extra-parens": "off",
"no-console": "off",
"react/jsx-closing-bracket-location": ["error", "tag-aligned"],
"react/forbid-component-props": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-no-literals": "off",
"react/jsx-sort-props": "off",
"no-else-return": "off",
"react/jsx-no-bind": "off",
"sort-imports": "off",
"padded-blocks": "off",
"indent": ["error", 4, {
"SwitchCase": 1
}],
"comma-dangle": ["error", "always-multiline"],
"func-style": "off",
"quotes": ["error", "single"],
"one-var": ["error", "never"],
"quote-props": ["error", "as-needed"],
"object-curly-spacing": ["error", "always"],
"sort-keys": "off",
"max-len": "off",
"new-cap": "off"
}
}