-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
37 lines (37 loc) · 1.08 KB
/
.eslintrc.json
File metadata and controls
37 lines (37 loc) · 1.08 KB
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
{
"extends": ["next/core-web-vitals", "next/typescript"],
"plugins": ["import", "unused-imports"],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"import/extensions": ["off"],
"import/first": ["error"],
"import/no-duplicates": ["error"],
"import/no-extraneous-dependencies": ["off"],
"import/no-relative-packages": ["off"],
"import/no-self-import": ["error"],
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "parent", "sibling"],
"pathGroups": [
{
"pattern": "@*/**",
"group": "external",
"position": "after"
}
],
"pathGroupsExcludedImportTypes": [],
"alphabetize": {
"order": "asc",
"caseInsensitive": true
},
"newlines-between": "never"
}
],
"unused-imports/no-unused-imports": ["error"],
"react-hooks/exhaustive-deps": ["off"],
"@typescript-eslint/naming-convention": ["off"]
}
}