Resolve eslint peer dependency warning #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Running
pnpm installshows:What to do
Resolve the peer dependency mismatch between eslint v10 and eslint-plugin-react-hooks v7.
Options
eslint-plugin-react-hooksto a version that supports eslint 10pnpm.peerDependencyRulesto suppress if the combination worksFiles to change
package.json(root) orapps/web/package.jsonAcceptance criteria
pnpm install --frozen-lockfileproduces no peer dependency warnings for eslintpnpm lintpassesNotes
ESLint config uses flat config (
eslint.config.mjsat root,apps/web/eslint.config.jsfor React). Seedocumentation/decisions.mdunder 'ESLint'.