-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
29 lines (29 loc) · 1.14 KB
/
.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
{
"extends": ["next/core-web-vitals", "next/typescript"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@next/next/no-img-element": "off",
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
"@typescript-eslint/ban-ts-comment": [
"error",
{
"ts-ignore": false
}
],
"react/no-unused-state": "off",
"@typescript-eslint/no-unused-vars": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-empty-object-type": "off",
"prefer-const": "off",
"react/no-unescaped-entities": "off",
"@next/next/no-page-custom-font": "off",
"@typescript-eslint/no-empty-interface": "off",
"no-var": "off",
// Disable additional rules
"no-console": "off", // Disable warnings for console.log
"@typescript-eslint/explicit-module-boundary-types": "off", // Disable explicit return types for functions
"@typescript-eslint/no-inferrable-types": "off", // Allow explicit types for simple types
"react/display-name": "off", // Disable warnings about missing display name in components
"no-debugger": "off" // Allow debugger usage in development
}
}