Skip to content

build(deps-dev): bump eslint from 9.39.2 to 10.1.0 with compatibility fixes#529

Merged
pethers merged 2 commits intodependabot/npm_and_yarn/eslint-10.1.0from
copilot/sub-pr-523
Mar 24, 2026
Merged

build(deps-dev): bump eslint from 9.39.2 to 10.1.0 with compatibility fixes#529
pethers merged 2 commits intodependabot/npm_and_yarn/eslint-10.1.0from
copilot/sub-pr-523

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 24, 2026

Dependabot bumped eslint to 10.1.0 but npm install fails due to peer dependency conflicts with incompatible plugins.

Changes

  • Removed eslint-plugin-react-hooks — latest stable (7.0.1) only supports eslint ≤9; no version exists with eslint 10 support
  • Updated @eslint/js ^9.39.2^10.0.1 (peer requires eslint ^10)
  • Updated typescript-eslint ecosystem to ^8.57.2 (typescript-eslint, @typescript-eslint/eslint-plugin, @typescript-eslint/parser — all declare eslint ^10 support)
  • Updated eslint.config.js to remove react-hooks plugin import and rule spread
  • Fixed preserve-caught-error lint error — new rule in eslint 10's recommended config:
// Before: stringifies error, losing the cause chain
throw new Error(`... Original error: ${err instanceof Error ? err.message : String(err)}`);

// After: preserves error cause per eslint 10 recommendation
throw new Error(`...`, { cause: err });

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

…act-hooks (no eslint 10 support)

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hack23/game/sessions/d148e709-c2e8-4832-825a-1f8ceac29693
@github-actions github-actions bot added dependencies Dependency updates infrastructure CI/CD and build infrastructure config Configuration changes testing Testing improvements test-coverage-impact Impacts test coverage labels Mar 24, 2026
Copilot AI changed the title [WIP] Update eslint dependency from 9.39.2 to 10.1.0 build(deps-dev): bump eslint from 9.39.2 to 10.1.0 with compatibility fixes Mar 24, 2026
Copilot AI requested a review from pethers March 24, 2026 12:18
@pethers pethers marked this pull request as ready for review March 24, 2026 17:16
@pethers pethers merged commit d763c3c into dependabot/npm_and_yarn/eslint-10.1.0 Mar 24, 2026
6 checks passed
@pethers pethers deleted the copilot/sub-pr-523 branch March 24, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration changes dependencies Dependency updates infrastructure CI/CD and build infrastructure test-coverage-impact Impacts test coverage testing Testing improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants