-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
31 lines (31 loc) · 898 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
{
"extends": "next/core-web-vitals",
"rules": {
"react/no-unescaped-entities": "off",
"@next/next/no-page-custom-font": "off",
"no-multiple-empty-lines": "warn",
"no-unexpected-multiline": "warn",
"no-unreachable": "error",
"no-trailing-spaces": "warn",
"consistent-return": "warn",
"default-case": "error",
"generator-star-spacing": "error",
"global-require": "warn",
"multiline-ternary": "warn",
"no-await-in-loop": "warn",
"no-const-assign": "error",
"no-dupe-args": "warn",
"no-dupe-keys": "warn",
"no-duplicate-case": "warn",
"no-duplicate-imports": "warn",
"no-empty": "warn",
"no-empty-function": "warn",
"no-lonely-if": "warn",
"no-unused-vars": "warn",
"no-nested-ternary": "warn",
"require-await": "warn",
"require-yield": "warn",
"vars-on-top": "warn",
"wrap-iife": "warn"
}
}