-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.eslintrc.json
More file actions
32 lines (31 loc) · 915 Bytes
/
.eslintrc.json
File metadata and controls
32 lines (31 loc) · 915 Bytes
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
{
"extends": ["next/core-web-vitals", "next/typescript"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-unused-vars": "off",
"react/no-unknown-property": "off", // Example: Add rules to suppress specific errors
// "@typescript-eslint/no-unused-vars": [
// "error",
// {
// "varsIgnorePattern": "^handleLogin$|^params$|^searchParams$",
// "argsIgnorePattern": "^handleLogin$|^params$|^searchParams$|^_"
// }
// ],
"@typescript-eslint/no-empty-interface": [
"error",
{
"allowSingleExtends": true
}
],
"@typescript-eslint/no-empty-object-type": "error" // Removed invalid "allow" property
},
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
"project": "./tsconfig.json"
}
}
}
}