Skip to content

Commit bda73c4

Browse files
committed
chore(config): update ESLint rules for improved compatibility and remove unnecessary whitespace
1 parent c65f798 commit bda73c4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.eslintrc.cjs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,42 @@ module.exports = {
88
rules: {
99
// Disable prettier conflicts
1010
"prettier/prettier": "off",
11-
11+
1212
// React refresh warnings only
1313
"react-refresh/only-export-components": [
1414
"warn",
1515
{ allowConstantExport: true },
1616
],
17-
17+
1818
// Allow any type (common in this codebase)
1919
"@typescript-eslint/no-explicit-any": "off",
20-
20+
2121
// Allow unused variables starting with _
2222
"@typescript-eslint/no-unused-vars": [
2323
"error",
2424
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" }
2525
],
26-
26+
2727
// Disable strict import rules that cause issues
2828
"import/no-duplicates": "off",
2929
"import/first": "off",
3030
"import-helpers/order-imports": "off",
31-
31+
3232
// Allow missing dependencies in useEffect (common pattern)
3333
"react-hooks/exhaustive-deps": "warn",
34-
34+
3535
// Allow case declarations
3636
"no-case-declarations": "off",
37-
37+
3838
// Allow unescaped entities in JSX
3939
"react/no-unescaped-entities": "off",
40-
40+
4141
// Allow undefined React (auto-imported)
4242
"no-undef": "off",
43-
43+
4444
// Allow unreachable code (sometimes intentional)
4545
"no-unreachable": "warn",
46-
46+
4747
// Allow constant conditions (sometimes intentional)
4848
"no-constant-condition": "warn",
4949
},

0 commit comments

Comments
 (0)