forked from not-woowacourse/1-toodoo-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
42 lines (42 loc) · 970 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
41
42
{
"extends": "next/core-web-vitals",
"plugins": ["import", "no-relative-import-paths"],
"rules": {
"import/order": [
"error",
{
"groups": [
["builtin", "external"],
"internal",
["parent", "sibling", "index"],
"type"
],
"pathGroups": [
{
"pattern": "next",
"group": "builtin"
},
{
"pattern": "react",
"group": "builtin"
},
{
"pattern": "@/app/**",
"group": "internal",
"position": "after"
},
{
"pattern": "@/**",
"group": "internal"
}
],
"pathGroupsExcludedImportTypes": ["builtin", "object"],
"newlines-between": "always"
}
],
"no-relative-import-paths/no-relative-import-paths": [
"error",
{ "allowSameFolder": true, "prefix": "@" }
]
}
}