-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
42 lines (42 loc) · 1.13 KB
/
.eslintrc.js
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
module.exports = {
env: {
node: true,
browser: true,
},
extends: [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"eslint-config-prettier",
],
plugins: ["eslint-plugin-prettier"],
settings: {
react: {
version: "detect",
},
},
rules: {
"react/prop-types": "off",
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"cypress/no-unnecessary-waiting": 0,
"no-alert": "error",
"@typescript-eslint/no-explicit-any": 0,
"react/display-name": 0,
"react-hooks/exhaustive-deps": 0,
"sort-imports": "off",
"prettier/prettier": "error",
"import/first": "error",
"import/no-duplicates": "error",
"react/jsx-no-target-blank": 0,
"no-useless-return": "error",
"no-return-await": "error",
"no-else-return": "error",
"@typescript-eslint/no-var-requires": 0,
"no-async-promise-executor": 0,
"import/no-named-as-default": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"react/jsx-uses-react": 0,
"react/react-in-jsx-scope": 0,
"no-irregular-whitespace": 0,
},
};