feat(deps): Update eslint monorepo (major) — on hold, reverted to 9.39.4 - #13
feat(deps): Update eslint monorepo (major) — on hold, reverted to 9.39.4#13renovate[bot] wants to merge 2 commits into
Conversation
|
e3bf07a to
98989bc
Compare
77614f2 to
447282e
Compare
b291997 to
f67671e
Compare
f67671e to
793ce1a
Compare
|
@copilot Can you investigate the PR comments & CI failures and repair them? |
Investigated in 9979065. The CI/Renovate failure is a real, unavoidable dependency conflict, not something fixable in this branch:
The other plugins already support ESLint 10 ( I reverted |
This PR was intended to apply the following updates:
9.39.4→10.0.19.39.4→10.5.0Update: ESLint 10 major bump reverted (on hold)
The ESLint 10 upgrade cannot be completed at this time and has been reverted, keeping
eslintand@eslint/jspinned at9.39.4.Root cause:
eslint-plugin-react@7.37.5(its latest release) declares a peer ofeslint@"^3 || … || ^9.7"and crashes at runtime under ESLint 10 (TypeError: context.getFilename is not a function, an API removed in v10). No publishedeslint-plugin-reactversion supports ESLint 10 yet, and it is required byeslint.config.js. This is why Renovate could not regeneratepackage-lock.json(ERESOLVE), leavingpackage.jsonat10.5.0while the lock file stayed at9.39.4and breakingnpm ciin CI.The other ESLint plugins already support ESLint 10 (
eslint-plugin-react-hooks@7.1.1,eslint-plugin-react-refresh@0.5.3), soeslint-plugin-reactis the sole blocker.Changes made: reverted
eslint/@eslint/jsback to9.39.4sopackage.jsonandpackage-lock.jsonare consistent again. Verified green:npm ci,npm run lint, and all 66 tests pass.This major bump should remain on hold until
eslint-plugin-reactships an ESLint 10-compatible release, at which point Renovate can re-open the update.Release Notes