
Highlights
Unused eslint-enable directives
The CLI option --report-unused-disable-directives and the config option reportUnusedDisableDirectives:true now also report and autofix unused eslint-enable directives. An eslint-enable directive is considered unused if it doesn’t match with any eslint-disable directives, meaning that it doesn’t re-enable any rules.
/* eslint-disable no-console */
console.log("hello");
/* eslint-enable no-continue -- this directive is unused */Features
Bug Fixes
- 5de9637fix: Ensure shared references in rule configs are separated (#17666) (Nicholas C. Zakas)
- dcfe573fix: add preceding semicolon in suggestions of- no-object-constructor(#17649) (Francesco Trotta)
Documentation
- 476d58adocs: Add note about invalid CLI flags when using flat config. (#17664) (Nicholas C. Zakas)
- 660ed3adocs: Plugin flat config migration guide (#17640) (Nicholas C. Zakas)
- a58aa20docs: fix examples for several rules (#17645) (Milos Djermanovic)
- 179929bdocs: Remove trailing newline from the code of Playground links (#17641) (Francesco Trotta)
- f8e5c30docs: Update README (GitHub Actions Bot)
- b7ef2f3docs: Enable pretty code formatter output (#17635) (Nicholas C. Zakas)
- 0bcb9a8docs: Fix syntax errors in rule examples (#17633) (Francesco Trotta)
- 61b9083docs: Make no-continue example code work (#17643) (Zhongyuan Zhou)
- 9fafe45docs: upgrade to 11ty 2.0 (#17632) (Percy Ma)
- ff8e4bfdocs: Update README (GitHub Actions Bot)
- fab249adocs: Update README (GitHub Actions Bot)
- 392305bdocs: Update- no-irregular-whitespaceand fix examples (#17626) (Francesco Trotta)
- 6b8acfbdocs: Add real whitespace to- no-trailing-spacesexamples (#17630) (Francesco Trotta)
- 1000187docs: Fix examples in- unicode-bom(#17631) (Francesco Trotta)
- 000290cdocs: Update README (GitHub Actions Bot)
Chores
- 6d1f0c2chore: upgrade @eslint/js@8.52.0 (#17671) (Milos Djermanovic)
- d63d4fechore: package.json update for @eslint/js release (ESLint Jenkins)
- f30cefetest: fix FlatESLint tests for caching (#17658) (Milos Djermanovic)
- ef650cbtest: update tests for no-promise-executor-return (#17661) (Milos Djermanovic)
