Highlights
Support for regular expressions v
flag
We have updated ESLint to fully support the ECMAScript 2024 regular expression v
flag. This flag allows more complex operations such as difference/subtraction, intersection, and nested character classes. These updates include parsing and ensuring that rules related to regular expressions are behaving as expected.
Better error messages for flat config
As we continue to work on flat config, we received some feedback that the error messages were a bit difficult to understand when an eslintrc config was accidentally used. We added more explicit checking for eslintrc-style configs to output more useful error messages that include links to the relevant documentation.
Features
8a93438
feat:require-unicode-regexp
supportv
flag (#17402) (SUZUKI Sosuke)1a2f966
feat:no-useless-escape
supportv
flag (#17420) (Yosuke Ota)ee68d1d
feat:no-empty-character-class
supportv
flag (#17419) (Milos Djermanovic)853d32b
feat: deprecate no-return-await (#17417) (Carlos Lopez)d4f02e4
feat:no-control-regex
supportv
flag (#17405) (Yosuke Ota)2a35f3e
feat:prefer-named-capture-group
supportv
flag (#17409) (Yosuke Ota)8ca8b50
feat: Better error message for flat config plugins (#17399) (Nicholas C. Zakas)509f753
feat:no-misleading-character-class
supportv
flag (#17406) (Yosuke Ota)3caf514
feat:no-regex-spaces
supportv
flag (#17407) (Yosuke Ota)b7fad2b
feat:prefer-regex-literals
supportv
flag (#17410) (Yosuke Ota)a6a3ad4
feat:no-useless-backreference
supportv
flag (#17408) (Yosuke Ota)94954a7
feat:no-invalid-regexp
supportv
flag (#17404) (Yosuke Ota)1af6eac
feat: adds option for allowing empty object patterns as parameter (#17365) (Tanuj Kanti)cf03104
feat: Improve config error messages (#17385) (Nicholas C. Zakas)
Bug Fixes
9803c7c
fix: FlatESLint#getRulesMetaForResults shouldn’t throw on unknown rules (#17393) (Milos Djermanovic)42faa17
fix: Update no-loop-func to not overlap with no-undef (#17358) (Matt Wilkinson)
Documentation
4d474e3
docs: update with TypeScript info (#17423) (James)091f44e
docs: File extension named processor deprecation (#17362) (Matt Wilkinson)9254a6c
docs: Update README (GitHub Actions Bot)6d6dc51
docs: fix overlapping ofopen in playground
button (#17403) (Tanuj Kanti)7fc3a2c
docs: Add private class features info to no-underscore-dangle (#17386) (Matt Wilkinson)da73e58
docs: Migratingeslint-env
configuration comments (#17390) (Francesco Trotta)80dffed
docs: fix Ignoring Files section in config migration guide (#17392) (Milos Djermanovic)8a9abb7
docs: Update README (GitHub Actions Bot)7e9be4b
docs: Update README (GitHub Actions Bot)0b0bbe0
docs: Update README (GitHub Actions Bot)
Chores
d1eb7e4
chore: Update ecosystem dependencies (#17427) (Nicholas C. Zakas)fab9e97
chore: package.json update for eslint-config-eslint release (ESLint Jenkins)6246711
chore: package.json update for @eslint/js release (ESLint Jenkins)0aa0bc3
chore: Add PRs to triage project (#17421) (Nicholas C. Zakas)