-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (36 loc) · 949 Bytes
/
.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
{
"plugins": ["@typescript-eslint"],
"extends": [
"next",
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"ignorePatterns": ["coverage/*"],
"rules": {
"@next/next/no-img-element": "off",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}
],
"semi": ["warn", "never"],
"quotes": ["warn", "double"],
"comma-dangle": ["warn", "always-multiline"],
"no-unused-vars": "off",
"no-irregular-whitespace": [
"error",
{
"skipTemplates": true
}
]
}
}