-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
34 lines (34 loc) · 892 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
{
"extends": ["next/core-web-vitals", "plugin:import/recommended", "prettier"],
"plugins": ["unused-imports"],
"rules": {
// TODO: due to a problem of path aliasing, this rule is only showing warnings
"import/no-unresolved": "warn",
"import/order": [
"error",
{
"newlines-between": "always",
"pathGroups": [
{
"pattern": "@/**",
"group": "external",
"position": "after"
}
],
"distinctGroup": false
}
],
"import/newline-after-import": ["error", { "count": 1 }],
"@typescript-eslint/no-unused-vars": "off",
"unused-imports/no-unused-imports": "warn",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
]
}
}