-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.json
32 lines (32 loc) · 895 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
{
"ignorePatterns": ["src/components/ui/*"],
"extends": [
"eslint:recommended",
"next/core-web-vitals",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:json/recommended"
],
"plugins": ["only-error", "prettier", "unused-imports"],
"rules": {
"prettier/prettier": [
"error",
{
"extends": [".prettierrc"]
}
],
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"error",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-unused-vars": "off"
}
}