-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc.json
40 lines (40 loc) · 1.18 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
{
"root": true,
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"no-console": "warn",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-empty-interface": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": [
"error",
{
"functions": false,
"classes": true,
"variables": false,
"typedefs": true
}
],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function": "off",
"import/extensions": "off",
"react/prop-types": "off",
"header/header": "off",
"consistent-return": "off",
"import/no-dynamic-require": "off",
"@typescript-eslint/no-var-requires": "off",
"global-require": "off",
"@typescript-eslint/ban-ts-comment": "off",
"prefer-object-spread": "warn",
"@next/next/no-img-element": "off"
}
}