-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
38 lines (38 loc) · 1.14 KB
/
.eslintrc
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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"next",
"next/core-web-vitals",
"plugin:react/recommended",
"plugin:@next/next/recommended",
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-mixed-operators": "off",
"react/jsx-uses-react": "off",
"no-multiple-empty-lines": "off",
"no-unexpected-multiline": "off",
"react/react-in-jsx-scope": "off",
"@next/next/no-img-element": "off",
"no-whitespace-before-property": "off",
"@next/next/no-html-link-for-pages": "off",
"@next/next/no-title-in-document-head": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"sort-imports": ["off", { "ignoreDeclarationSort": true }],
"no-duplicate-imports": "off",
"react/prop-types": "off"
},
"env": {
"es6": true,
"node": true,
"browser": true
}
}