You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ESLint 10 upgrade blocked by eslint-plugin-react #91
The dependabot bump to ESLint 10 (#83) cannot go green. Two stacked problems, full write-up in docs/eslint-10.md (added by #90):
The brace-expansion ^2.0.2 override in package.json (from chore(security): harden supply chain (OWASP 2025 A03) #27) breaks minimatch@10, which ESLint 10 depends on and which requires brace-expansion ^5. This is the (0, brace_expansion_1.expand) is not a function crash in chore(deps-dev): bump eslint from 9.39.5 to 10.9.1 #83's CI. The override is obsolete — all published brace-expansion lines carry the ReDoS fix — and must go as part of the upgrade.
With the override removed, eslint-plugin-react@7.37.5 (pulled in by eslint-config-next) crashes on the removed context.getFilename() API. Its ESLint peer range caps at ^9.7; the fix exists only in the 7.8.0-rc.0 prerelease. Upstream: ESLint v10 compatibility jsx-eslint/eslint-plugin-react#3977.
Blocked on: a stable eslint-config-next release whose eslint-plugin-react supports ESLint 10. Even the 16.4 canaries still pin ^7.37.0 as of 2026-08-30.
When unblocked: bump eslint to ^10, delete the brace-expansion override, reinstall, verify npm run lint and npm audit --audit-level=high.
Correction — the prerelease named in this issue does not contain the fix. Verified 2026-09-19.
eslint-plugin-react@7.8.0-rc.0 is not an ESLint 10 build. It is a stale artifact sitting on the next dist-tag from the early-7.x era, and its own peerDependencies.eslint is ^3.0.0 || ^4.0.0. Installing it would make things worse, not better.
No release of eslint-plugin-react supports ESLint 10 — stable or pre. Latest stable is still 7.37.5, published 2025-04-03, peer capped at ^9.7. The fix is unmerged: #3977 has been open since 2026-02-07, and all three candidate PRs (#3979, #3972, #4022) are still open. Last commit to master was 2026-05-17.
The rest of the diagnosis holds, and the "blocked on upstream" note is still accurate — eslint-config-next@canary (16.4.0-canary.36) carries a byte-identical dependency set to latest, still eslint-plugin-react: "^7.37.0". Next is itself blocked on the same PR: see vercel/next.js#89764.
The "when unblocked" plan is also out of date. The brace-expansion override is already gone from package.json. And bumping eslint to ^10 on its own still fails — eslint-plugin-jsx-a11y@6.10.2 and eslint-plugin-import@2.32.0 both cap their peer at ESLint 9, so npm install ERESOLVEs before lint ever runs.
Superseded by #145, which drops eslint-config-next and composes the config directly rather than waiting on a chain that has not moved in months. This issue stays open until that PR closes it.
docs/eslint-10.md carries the same wrong claim and is deleted as part of #145.
Activity
Daniel88dev commentedon Sep 19, 2026
Correction — the prerelease named in this issue does not contain the fix. Verified 2026-09-19.
eslint-plugin-react@7.8.0-rc.0is not an ESLint 10 build. It is a stale artifact sitting on thenextdist-tag from the early-7.x era, and its ownpeerDependencies.eslintis^3.0.0 || ^4.0.0. Installing it would make things worse, not better.No release of
eslint-plugin-reactsupports ESLint 10 — stable or pre. Latest stable is still7.37.5, published 2025-04-03, peer capped at^9.7. The fix is unmerged: #3977 has been open since 2026-02-07, and all three candidate PRs (#3979, #3972, #4022) are still open. Last commit tomasterwas 2026-05-17.The rest of the diagnosis holds, and the "blocked on upstream" note is still accurate —
eslint-config-next@canary(16.4.0-canary.36) carries a byte-identical dependency set to latest, stilleslint-plugin-react: "^7.37.0". Next is itself blocked on the same PR: see vercel/next.js#89764.The "when unblocked" plan is also out of date. The
brace-expansionoverride is already gone frompackage.json. And bumpingeslintto^10on its own still fails —eslint-plugin-jsx-a11y@6.10.2andeslint-plugin-import@2.32.0both cap their peer at ESLint 9, sonpm installERESOLVEs before lint ever runs.Superseded by #145, which drops
eslint-config-nextand composes the config directly rather than waiting on a chain that has not moved in months. This issue stays open until that PR closes it.docs/eslint-10.mdcarries the same wrong claim and is deleted as part of #145.