ESLint’s default parser espree now supports RegExp duplicate named capturing groups ES2025 syntax when languageOptions.ecmaVersion is set to 2025 or "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 in files and ignores patterns, regardless of the operating system. Note that only forward slash (/) is interpreted as a path separator in files and ignores patterns, regardless of the operating system.
The messages reported by the no-unused-vars rule have been improved to include configured ignore patterns for different kinds of variables.
Features
e2b16e2 feat: Implement feature flags (#18516) (Nicholas C. Zakas)
8824aa1 feat: add ecmaVersion: 2025, parsing duplicate named capturing groups (#18596) (Milos Djermanovic)
Bug Fixes
1613e2e fix: Allow escaping characters in config patterns on Windows (#18628) (Milos Djermanovic)