-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
37 lines (37 loc) · 1.02 KB
/
.eslintrc.cjs
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
module.exports = {
env: {
es6: true,
node: true,
jest: true,
},
plugins: [],
extends: [
// "next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
],
rules: {
"no-eval": "error",
"no-implied-eval": "error",
"no-extend-native": "error",
"no-var": "error",
"no-useless-computed-key": "warn",
"max-params": ["warn", 4],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["warn"],
"@next/next/no-img-element": "off",
"@typescript-eslint/no-non-null-assertion": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"react/no-unescaped-entities": "off",
"no-useless-escape": "off",
"@typescript-eslint/no-empty-function": "off",
"react/display-name": "off",
"react/no-children-prop": "off",
"prefer-spread": "off",
"@typescript-eslint/no-empty-interface": "off",
"no-case-declarations": "off",
"prefer-const": "off",
"@typescript-eslint/no-namespace": "off",
},
overrides: [],
};