
Highlights
- ESLint’s default parser
espreenow supports RegExp duplicate named capturing groups ES2025 syntax whenlanguageOptions.ecmaVersionis set to2025or"latest"(default). Please note that the core rules have not yet been updated to support this syntax. - Backslash (
\) can now be used as an escape character infilesandignorespatterns, regardless of the operating system. Note that only forward slash (/) is interpreted as a path separator infilesandignorespatterns, regardless of the operating system. - The messages reported by the
no-unused-varsrule have been improved to include configured ignore patterns for different kinds of variables.
Features
e2b16e2feat: Implement feature flags (#18516) (Nicholas C. Zakas)8824aa1feat: addecmaVersion: 2025, parsing duplicate named capturing groups (#18596) (Milos Djermanovic)
Bug Fixes
1613e2efix: Allow escaping characters in config patterns on Windows (#18628) (Milos Djermanovic)21d3766fix:no-unused-varsinclude caught errors pattern in report message (#18609) (Kirk Waiblinger)d7a7736fix: improveno-unused-varsmessage on unused caught errors (#18608) (Kirk Waiblinger)f9e95d2fix: correct locations of invalid/* eslint */comments (#18593) (Milos Djermanovic)
Documentation
13dbecddocs: Limit search to just docs (#18627) (Nicholas C. Zakas)375227fdocs: Updategetting-started.md- add pnpm to init eslint config (#18599) (Kostiantyn Ochenash)44915bbdocs: Update README (GitHub Actions Bot)d50db7bdocs: Update vscode-eslint info (#18595) (Nicholas C. Zakas)
Chores
b15ee30chore: upgrade @eslint/js@9.6.0 (#18632) (Milos Djermanovic)d655503chore: package.json update for @eslint/js release (Jenkins)7c78ad9refactor: Use language.visitorKeys and check for non-JS SourceCode (#18625) (Nicholas C. Zakas)69ff64erefactor: Return value of applyInlineConfig() (#18623) (Nicholas C. Zakas)d2d06f7refactor: use/separator when adjustingignorePatternson Windows (#18613) (Milos Djermanovic)6421973refactor: fix disable directives for languages with 0-based lines (#18605) (Milos Djermanovic)0a13539refactor: Allow optional methods for languages (#18604) (Nicholas C. Zakas)c7ddee0chore: make internal-rules not being a package (#18601) (Milos Djermanovic)3379164chore: remove.eslintrc.js(#18011) (唯然)d0c3a32chore: update knip (with webdriver-io plugin) (#18594) (Lars Kappert)
