Resolve eslint peer dependency warning #24

Open
opened 2026-04-19 07:23:33 +00:00 by forgejo-lila · 0 comments
Owner

Context

Running pnpm install shows:

eslint-plugin-react-hooks 7.0.1
  unmet peer eslint@"^3.0.0 || ... || ^9.0.0": found 10.0.3

What to do

Resolve the peer dependency mismatch between eslint v10 and eslint-plugin-react-hooks v7.

Options

  1. Upgrade eslint-plugin-react-hooks to a version that supports eslint 10
  2. Downgrade eslint to v9
  3. Use pnpm.peerDependencyRules to suppress if the combination works

Files to change

  • package.json (root) or apps/web/package.json

Acceptance criteria

  • pnpm install --frozen-lockfile produces no peer dependency warnings for eslint
  • Linting still works: pnpm lint passes

Notes

ESLint config uses flat config (eslint.config.mjs at root, apps/web/eslint.config.js for React). See documentation/decisions.md under 'ESLint'.

## Context Running `pnpm install` shows: ``` eslint-plugin-react-hooks 7.0.1 unmet peer eslint@"^3.0.0 || ... || ^9.0.0": found 10.0.3 ``` ## What to do Resolve the peer dependency mismatch between eslint v10 and eslint-plugin-react-hooks v7. ## Options 1. Upgrade `eslint-plugin-react-hooks` to a version that supports eslint 10 2. Downgrade eslint to v9 3. Use `pnpm.peerDependencyRules` to suppress if the combination works ## Files to change - `package.json` (root) or `apps/web/package.json` ## Acceptance criteria - `pnpm install --frozen-lockfile` produces no peer dependency warnings for eslint - Linting still works: `pnpm lint` passes ## Notes ESLint config uses flat config (`eslint.config.mjs` at root, `apps/web/eslint.config.js` for React). See `documentation/decisions.md` under 'ESLint'.
forgejo-lila added the
debt
label 2026-04-19 07:23:33 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: forgejo-lila/lila#24
No description provided.