-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.eslintrc
More file actions
43 lines (43 loc) · 1.22 KB
/
.eslintrc
File metadata and controls
43 lines (43 loc) · 1.22 KB
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
{
"root": true,
"plugins": ["@typescript-eslint", "prettier", "react", "react-hooks"],
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:jsx-a11y/recommended",
"prettier",
],
"settings": {
"react": {
"version": "detect",
},
},
"rules": {
"react/prop-types": "off",
"prettier/prettier": "error",
"react/react-in-jsx-scope": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-unused-vars": "off",
"@next/next/no-html-link-for-pages": "off",
"import/no-named-as-default": "off",
"@next/next/no-img-element": "off",
"@next/next/no-page-custom-font": "off",
"@next/next/no-duplicate-head": "off",
"@next/next/no-typos": "off",
"@next/next/no-before-interactive-script-outside-document": "off",
"@next/next/no-styled-jsx-in-document": "off",
"@next/next/no-head-import-in-document": "off",
},
"overrides": [
{
"files": ["*.js"],
"rules": {
"@typescript-eslint/no-var-requires": "off",
},
},
],
}