Skip to content

Fix npm install failure: upgrade eslint-plugin-react-hooks to canary supporting eslint v10#195

Merged
kiyarose merged 1 commit intokr/expagefrom
copilot/fix-build-issues-sillylittletech
Mar 26, 2026
Merged

Fix npm install failure: upgrade eslint-plugin-react-hooks to canary supporting eslint v10#195
kiyarose merged 1 commit intokr/expagefrom
copilot/fix-build-issues-sillylittletech

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

eslint-plugin-react-hooks@^7.0.1 declares peer support only for eslint ^3–9, causing ERESOLVE on npm ci against the project's eslint@^10.1.0.

Change

  • package.json: Pin eslint-plugin-react-hooks to 7.1.0-canary-ab18f33d-20260220, which drops the eslint v9 peer cap — matching what kiyarose/Portf already uses successfully
  • package-lock.json: Regenerated to reflect resolved dependency tree
- "eslint-plugin-react-hooks": "^7.0.1",
+ "eslint-plugin-react-hooks": "7.1.0-canary-ab18f33d-20260220",

@kiyarose kiyarose marked this pull request as ready for review March 26, 2026 10:42
Copilot AI review requested due to automatic review settings March 26, 2026 10:42
@kiyarose kiyarose merged commit 499f0a7 into kr/expage Mar 26, 2026
13 checks passed
@kiyarose kiyarose deleted the copilot/fix-build-issues-sillylittletech branch March 26, 2026 10:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Resolves npm ci / dependency resolution failures caused by eslint-plugin-react-hooks@^7.0.1 not declaring peer support for ESLint v10, aligning the repo’s lint toolchain with the already-used eslint@^10.1.0.

Changes:

  • Pin eslint-plugin-react-hooks to 7.1.0-canary-ab18f33d-20260220 to allow ESLint v10 peer compatibility.
  • Regenerate package-lock.json to reflect the updated resolved dependency tree.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Pins eslint-plugin-react-hooks to a canary build that declares ESLint v10 peer support.
package-lock.json Updates the lockfile to the new eslint-plugin-react-hooks version and its peer dependency range including ESLint ^10.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants