-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
32 lines (32 loc) · 993 Bytes
/
.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
{
"extends": [
"next",
"next/core-web-vitals"
],
"plugins": [
"react",
"unused-imports"
],
"rules": {
"unused-imports/no-unused-imports": "error",
"@next/next/no-img-element": "off",
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",
"react/no-unescaped-entities": "off",
"react-hooks/exhaustive-deps": "off",
"comma-dangle": "off",
"eol-last": ["warn", "always"],
"quote-props": ["error", "as-needed"],
"quotes": "off",
"no-trailing-spaces": "warn",
"no-var": "error",
"operator-linebreak": ["warn", "before"],
"multiline-ternary": ["warn", "always-multiline"],
"indent": ["warn", 2, { "SwitchCase": 1 }],
"arrow-body-style": ["warn", "as-needed"],
"react/jsx-tag-spacing": ["warn", { "beforeSelfClosing": "always", "beforeClosing": "never" }],
"no-multiple-empty-lines": "off",
"jsx-quotes": ["warn", "prefer-double"],
"@typescript-eslint/no-unused-vars": "off"
}
}