Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ export default tseslint.config(
},
rules: {
...reactHooks.configs.recommended.rules,
// eslint-plugin-react-hooks v7 expanded `recommended` with React-Compiler-era
// rules that flag a large body of pre-existing code (65 violations across the
// repo). Adopting them is a separate, deliberate refactor — out of scope for a
// routine dependency bump — so they are deferred here rather than silently
// regressing the lint baseline. Re-enable per-rule when tackling the cleanup.
"react-hooks/set-state-in-effect": "off",
"react-hooks/refs": "off",
"react-hooks/preserve-manual-memoization": "off",
"react-hooks/immutability": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"@vitest/coverage-v8": "^4.0.18",
"dependency-cruiser": "^17.3.9",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^16.5.0",
"jsdom": "^26.1.0",
"knip": "6.15.0",
Expand Down
Loading
Loading