-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
40 lines (40 loc) · 876 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
37
38
39
40
{
"extends": ["next", "prettier", "next/core-web-vitals"],
"plugins": ["react", "react-hooks", "prettier"],
"rules": {
"react/no-unescaped-entities": "off",
"no-console": "warn",
"no-duplicate-imports": "error",
"prefer-const": "error",
"react-hooks/exhaustive-deps": "error",
"no-unused-vars": [
"error",
{
"args": "after-used",
"caughtErrors": "none",
"ignoreRestSiblings": true,
"vars": "all"
}
],
"import/order": [
"error",
{
"groups": [
"external",
"builtin",
"internal",
"parent",
"sibling",
"index",
"object",
"type"
],
"alphabetize": {
"order": "asc",
"caseInsensitive": true
},
"newlines-between": "always"
}
]
}
}