-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
33 lines (33 loc) · 1.21 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
{
"extends": ["next/core-web-vitals", "prettier"],
"rules": {
// https://nextjs.org/docs/basic-features/eslint
"react/no-unescaped-entities": "off",
"@next/next/no-img-element": "off",
"react/prop-types": 0,
"react-hooks/exhaustive-deps": "off",
"no-unused-vars": ["warn", { "args": "none" }],
"no-console": "warn",
"import/order": [
"warn",
{
"groups": ["builtin", "external", "internal"],
"pathGroups": [
{ "pattern": "react", "group": "builtin", "position": "before" },
{ "pattern": "next/**", "group": "external", "position": "before" },
{ "pattern": "@data/**", "group": "internal", "position": "before" },
{ "pattern": "@components/**", "group": "internal", "position": "before" },
{ "pattern": "@types/**", "group": "internal", "position": "before" },
{ "pattern": "./*", "group": "internal", "position": "after" },
{ "pattern": "../*", "group": "internal", "position": "after" }
],
"pathGroupsExcludedImportTypes": ["builtin"],
"newlines-between": "never",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
}
}