npm / @eslint/compat
@eslint/compat
What changed in @eslint/compat 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 breaking1 new APIs and options3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@eslint/compat 25 changes
Breaking changes 1
Requires Node.js ^20.19.0, ^22.13.0, or >=24.
New APIs and options 1
Adds includeIgnoreFile() to config-helpers.
Fixes and other changes 3
Preserves the return value of markVariableAsUsed in the compat context.
Adds ESLint 10 as a peer dependency.
Patches missing context and SourceCode methods for v10.