
Highlights
- Code path analysis now provides two new events that can be used in rules:
onUnreachableCodePathSegmentStartandonUnreachableCodePathSegmentEnd. CodePath#currentSegmentsproperty 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
enforcethat allows for more granular configurations.
Features
da09f4efeat: Implement onUnreachableCodePathStart/End (#17511) (Nicholas C. Zakas)32b2327feat: Emit deprecation warnings in RuleTester (#17527) (Nicholas C. Zakas)acb7df3feat: add newenforceoption tolines-between-class-members(#17462) (Nitin Kumar)
Documentation
ecfb54fdocs: Update README (GitHub Actions Bot)de86b3bdocs: updateno-promise-executor-returnexamples (#17529) (Nitin Kumar)032c4b1docs: add typescript template (#17500) (James)cd7da5cdocs: Update README (GitHub Actions Bot)
Chores
b7621c3chore: remove browser test fromnpm test(#17550) (Milos Djermanovic)cac45d0chore: upgrade @eslint/js@8.49.0 (#17549) (Milos Djermanovic)cd39508chore: package.json update for @eslint/js release (ESLint Jenkins)203a971ci: bump actions/checkout from 3 to 4 (#17530) (dependabot[bot])a40fa50chore: use eslint-plugin-jsdoc’s flat config (#17516) (Milos Djermanovic)926a286test: replace Karma with Webdriver.IO (#17126) (Christian Bromann)f591d2cchore: Upgrade config-array (#17512) (Nicholas C. Zakas)
