Chore(deps-dev): Bump eslint-plugin-react-hooks from 5.2.0 to 7.1.1 (#7033)

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2026-08-21 08:22:55 -07:00
committed by GitHub
co-authored by shamoon
parent fa47a2d86c
commit 6a96289717
3 changed files with 284 additions and 13 deletions
+18
View File
@@ -65,6 +65,24 @@ export default defineConfig([
allowElseIf: true,
},
],
// Keep the pre-eslint-plugin-react-hooks v6 lint policy until rules are adopted incrementally
"react-hooks/config": "off",
"react-hooks/error-boundaries": "off",
"react-hooks/exhaustive-deps": "warn",
"react-hooks/gating": "off",
"react-hooks/globals": "off",
"react-hooks/immutability": "off",
"react-hooks/incompatible-library": "off",
"react-hooks/preserve-manual-memoization": "off",
"react-hooks/purity": "off",
"react-hooks/refs": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/set-state-in-effect": "off",
"react-hooks/set-state-in-render": "off",
"react-hooks/static-components": "off",
"react-hooks/unsupported-syntax": "off",
"react-hooks/use-memo": "off",
},
},
// Vitest tests often intentionally place imports after `vi.mock(...)` to ensure