Skip to content

Commit e967fb8

Browse files
committed
Update .eslintrc.json Warn for rules instead of breaking
1 parent 32cd42d commit e967fb8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.eslintrc.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
{
2-
"extends": ["next/core-web-vitals", "next/typescript"]
2+
"extends": ["next/core-web-vitals", "next/typescript"],
3+
"rules": {
4+
"@typescript-eslint/no-unused-vars": "warn",
5+
"@typescript-eslint/no-explicit-any": "warn",
6+
"prefer-const": "warn",
7+
"react-hooks/exhaustive-deps": "warn",
8+
"react/no-unescaped-entities": "warn",
9+
"react-hooks/rules-of-hooks": "warn",
10+
"import/no-named-as-default": "warn",
11+
"import/no-unresolved": "warn"
12+
}
313
}

0 commit comments

Comments
 (0)