Published under: Announcements
2 min read
Highlights
- Code path analysis now provides two new events that can be used in rules:
onUnreachableCodePathSegmentStart
andonUnreachableCodePathSegmentEnd
. CodePath#currentSegments
property has been deprecated and will be removed in ESLint v9. If you use this property in your custom rules, please refer to code path analysis usage examples for how to update your code.- The lines-between-class-members rule has a new option
enforce
that allows for more granular configurations.
Features
da09f4e
feat: Implement onUnreachableCodePathStart/End (#17511) (Nicholas C. Zakas)32b2327
feat: Emit deprecation warnings in RuleTester (#17527) (Nicholas C. Zakas)acb7df3
feat: add newenforce
option tolines-between-class-members
(#17462) (Nitin Kumar)
Documentation
ecfb54f
docs: Update README (GitHub Actions Bot)de86b3b
docs: updateno-promise-executor-return
examples (#17529) (Nitin Kumar)032c4b1
docs: add typescript template (#17500) (James)cd7da5c
docs: Update README (GitHub Actions Bot)
Chores
b7621c3
chore: remove browser test fromnpm test
(#17550) (Milos Djermanovic)cac45d0
chore: upgrade @eslint/js@8.49.0 (#17549) (Milos Djermanovic)cd39508
chore: package.json update for @eslint/js release (ESLint Jenkins)203a971
ci: bump actions/checkout from 3 to 4 (#17530) (dependabot[bot])a40fa50
chore: use eslint-plugin-jsdoc’s flat config (#17516) (Milos Djermanovic)926a286
test: replace Karma with Webdriver.IO (#17126) (Christian Bromann)f591d2c
chore: Upgrade config-array (#17512) (Nicholas C. Zakas)