Context
PR #3 introduced ESLint with React hooks rules disabled because the existing codebase predates React 19 strict hooks linting.
Disabled rules
The following rules are currently set to 'off' in eslint.config.js:
Recommended approach
Enable one rule at a time as a warning (not error), fix the violations in focused PRs, then promote to error once clean.
Files with the most violations
src/components/ChartsView/ContextChart.jsx
src/components/Dashboard/Dashboard.jsx
src/hooks/useCommandRegistration.js
src/agents/useAgentBridge.js
src/pages/Workspace.jsx
Context
PR #3 introduced ESLint with React hooks rules disabled because the existing codebase predates React 19 strict hooks linting.
Disabled rules
The following rules are currently set to
'off'ineslint.config.js:react-hooks/set-state-in-effect— ~28 violationsreact-hooks/exhaustive-deps— ~29 violationsreact-hooks/preserve-manual-memoization— ~15 violationsreact-hooks/refs— ~6 violationsreact-hooks/immutability— ~10 violationsreact-hooks/use-memo— ~5 violationsreact-hooks/purity— ~3 violationsRecommended approach
Enable one rule at a time as a warning (not error), fix the violations in focused PRs, then promote to error once clean.
Files with the most violations
src/components/ChartsView/ContextChart.jsxsrc/components/Dashboard/Dashboard.jsxsrc/hooks/useCommandRegistration.jssrc/agents/useAgentBridge.jssrc/pages/Workspace.jsx