-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (40 loc) · 1.33 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
{
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"jsx-quotes": ["error", "prefer-double"],
"quotes": ["error", "double"],
"no-trailing-spaces": "off",
"@typescript-eslint/comma-dangle": "off",
"@typescript-eslint/no-explicit-any": "off",
"eol-last": "off",
"arrow-parens": "off",
"react/function-component-definition": "off",
"react/jsx-props-no-spreading": "off",
"react/no-unstable-nested-components": "off",
"react/jsx-closing-bracket-location": "off",
"react/destructuring-assignment": "off",
"react/state-in-constructor": "off",
"react/button-has-type": "off",
"react/no-array-index-key": "off",
"import/prefer-default-export": "off",
"import/order": "off",
"import/no-duplicates": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/alt-text": "off",
"@next/next/no-img-element": "off",
"no-console": "warn",
"prefer-const": "warn",
"prefer-destructuring": "off",
"no-nested-ternary": "off",
"no-plusplus": "off",
"no-promise-executor-return": "off",
"@typescript-eslint/no-unused-vars": "warn"
}
}