ESLint v8.49.0 released

We just pushed ESLint v8.49.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

Highlights

  • Code path analysis now provides two new events that can be used in rules: onUnreachableCodePathSegmentStart and onUnreachableCodePathSegmentEnd.
  • 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

Documentation

Chores

  • b7621c3 chore: remove browser test from npm 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)

The latest ESLint news, case studies, tutorials, and resources.

What's coming next for ESLint
5 min read

What's coming next for ESLint

The new configuration system is just the beginning of significant changes coming to ESLint.

ESLint v9.6.0 released
2 min read

ESLint v9.6.0 released

We just pushed ESLint v9.6.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

ESLint v9.5.0 released
2 min read

ESLint v9.5.0 released

We just pushed ESLint v9.5.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.