Skip to content

Commit bd46734

Browse files
committed
Disable all rules that causes lint errors, to be enabled 1-by-1
1 parent 25ad9e0 commit bd46734

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

eslint.config.mjs

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
import nextObusk from "@obusk/eslint-config-next";
22

3-
const eslintConfig = [...nextObusk];
3+
const eslintConfig = [
4+
...nextObusk,
5+
{
6+
name: "Temporary Overrides",
7+
// Temporarily disable all failing rules to be fixed 1 by 1
8+
rules: {
9+
"react-hooks/immutability": "off",
10+
"prefer-const": "off",
11+
"react-hooks/set-state-in-effect": "off",
12+
"@typescript-eslint/no-unused-vars": "off",
13+
"react-hooks/refs": "off",
14+
"@typescript-eslint/no-explicit-any": "off",
15+
"no-var": "off",
16+
"@typescript-eslint/ban-ts-comment": "off",
17+
"@typescript-eslint/no-unused-expressions": "off",
18+
"@typescript-eslint/no-require-imports": "off",
19+
},
20+
},
21+
];
422

523
export default eslintConfig;

0 commit comments

Comments
 (0)