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
Investigation found that eslint-plugin-react@7.37.5 (latest) has a runtime crash with eslint 10 — it calls context.getFilename() which was removed (now context.filename)
This isn't a workaround-able deprecation warning — the plugin literally crashes on load
ESLint 10 removed deprecated context methods (context.getFilename() → context.filename, context.getSourceCode() → context.sourceCode, etc.). The plugin uses context.getFilename() in its internal version detection utility — not in rule create() functions — so the @eslint/compatfixupPluginRules() shim does not fix it.
Maintainer position (ljharb, Feb 7): "we're explicitly not compatible with eslint 10. until the peer dep range is updated, one should not attempt to use eslint 10 with this plugin"
PR #3979 is open with change requests. No merge timeline.
ESLint 10 itself
Primarily a cleanup release — removes APIs deprecated in v9, drops legacy .eslintrc config entirely. No must-have new features. ESLint 9 continues active maintenance (v9.39.x, Feb 2026).
Two paths forward
Path A: Wait (current plan) — Stay on eslint 9. Monitor upstream. Zero effort, zero risk.
Path B: Replace eslint-plugin-react with @eslint-react/eslint-plugin — A modern rewrite (v2.12.0+ supports eslint 10, 4-7x faster, actively maintained). Requires eslint config rewrite since rule names differ. Unblocks eslint 10 without waiting on upstream.
Activity
Snoww3d commentedon Feb 22, 2026
Status Update — Feb 2026
eslint 10 migration is blocked by
eslint-plugin-react.What happened
eslint-plugin-react@7.37.5(latest) has a runtime crash with eslint 10 — it callscontext.getFilename()which was removed (nowcontext.filename)Upstream tracking
What we did do
eslint-plugin-react-hooksfrom 5.2.0 → 7.0.1 (works fine with eslint 9)Next steps
eslint-plugin-reactreleaseSnoww3d commentedon Feb 22, 2026
Deep Research — ESLint 10 Ecosystem Readiness (Feb 22, 2026)
Our plugin stack vs ESLint 10
@eslint/js@typescript-eslint/*eslint-plugin-reacteslint-plugin-react-hookseslint-plugin-react-refreshWhy eslint-plugin-react crashes
ESLint 10 removed deprecated context methods (
context.getFilename()→context.filename,context.getSourceCode()→context.sourceCode, etc.). The plugin usescontext.getFilename()in its internal version detection utility — not in rulecreate()functions — so the@eslint/compatfixupPluginRules()shim does not fix it.Maintainer position (ljharb, Feb 7): "we're explicitly not compatible with eslint 10. until the peer dep range is updated, one should not attempt to use eslint 10 with this plugin"
PR #3979 is open with change requests. No merge timeline.
ESLint 10 itself
Primarily a cleanup release — removes APIs deprecated in v9, drops legacy
.eslintrcconfig entirely. No must-have new features. ESLint 9 continues active maintenance (v9.39.x, Feb 2026).Two paths forward
Path A: Wait (current plan) — Stay on eslint 9. Monitor upstream. Zero effort, zero risk.
Path B: Replace
eslint-plugin-reactwith@eslint-react/eslint-plugin— A modern rewrite (v2.12.0+ supports eslint 10, 4-7x faster, actively maintained). Requires eslint config rewrite since rule names differ. Unblocks eslint 10 without waiting on upstream.Upstream issues to monitor
refactor: replace eslint-plugin-react with @eslint-react/eslint-plugin
refactor: replace eslint-plugin-react with @eslint-react/eslint-plugin (