Published under: Announcements
2 min read
Highlights
New features for reporting unused disable directives
- The ESLint CLI has a new option
--report-unused-disable-directives-severity
. This option is available in both eslintrc and flat config modes. - The
linterOptions.reportUnusedDisableDirectives
configuration option can now be set to a severity value:"error"
(or2
),"warn"
(or1
),"off"
(or0
). This feature is available only in flat config files (eslint.config.js
).
Features
0dd9704
feat: Support custom severity when reporting unused disable directives (#17212) (Bryan Mishkin)31a7e3f
feat: fix no-restricted-properties false negatives with unknown objects (#17818) (Arka Pratim Chaudhuri)
Bug Fixes
7d5e5f6
fix:TypeError: fs.exists is not a function
on read-only file system (#17846) (Francesco Trotta)74739c8
fix: suggestion with invalid syntax in no-promise-executor-return rule (#17812) (Bryan Mishkin)
Documentation
9007719
docs: update link in ways-to-extend (#17839) (Amel SELMANE)3a22236
docs: Update README (GitHub Actions Bot)54c3ca6
docs: fix migration-guide example (#17829) (Tanuj Kanti)4391b71
docs: check config comments in rule examples (#17815) (Francesco Trotta)fd28363
docs: remove mention about ESLint stylistic rules in readme (#17810) (Zwyx)48ed5a6
docs: Update README (GitHub Actions Bot)
Chores
ba6af85
chore: upgrade @eslint/js@8.56.0 (#17864) (Milos Djermanovic)60a531a
chore: package.json update for @eslint/js release (Jenkins)ba87a06
chore: update dependency markdownlint to ^0.32.0 (#17783) (renovate[bot])9271d10
chore: add GitHub issue template for docs issues (#17845) (Josh Goldberg ✨)70a686b
chore: Convert rule tests to FlatRuleTester (#17819) (Nicholas C. Zakas)f3a599d
chore: upgrade eslint-plugin-unicorn to v49.0.0 (#17837) (唯然)905d4b7
chore: upgrade eslint-plugin-eslint-plugin v5.2.1 (#17838) (唯然)4d7c3ce
chore: update eslint-plugin-n v16.4.0 (#17836) (唯然)fd0c60c
ci: unpin Node.js 21.2.0 (#17821) (Francesco Trotta)