ESLint v8.x reached end-of-life on 2024-10-05 and is no longer maintained. Upgrade or consider long-term support options

ESLint v4.0.0-alpha.1 released

We just pushed ESLint v4.0.0-alpha.1, which is a major release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. This release also has some breaking changes, so please read the following closely.

Note: This version of ESLint is not ready for production use and is provided to gather feedback from the community before releasing the final version. Please let us know if you having any problems or feedback by creating issues on our GitHub repo or joining our Gitter channel.

Highlights

  • The array-callback-return rule was added to eslint:recommended in the last prerelease, but it has been removed from eslint:recommended in this prerelease due to false positives that would occur when using methods in a few popular libraries. As a result, this rule will not be in eslint:recommended for 4.0.0.
  • Three new utility methods have been added to the SourceCode API, and SourceCode#getComments has been deprecated.
  • One new rule has been added: array-bracket-newline.
  • The no-confusing-arrow rule can now be autofixed.
  • The object-curly-newline rule has a new option.

Breaking Changes

Features

Enhancements

Bug Fixes

  • e35107f0 Fix: indent crash on arrow functions without parens at start of line (#8477) (Teddy Katz)

Documentation

Dependency Upgrades

  • 1c7efbd2 Build: changelog update for 4.0.0-alpha.1 (Kai Cataldo)

Chores

  • 10a1a2d7 Chore: Do not use cache when testing (#8464) (Kai Cataldo)
  • 161ee4ea Chore: avoid cloning comments array in TokenStore (#8436) (Teddy Katz)

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

ESLint v9.15.0 released
2 min read

ESLint v9.15.0 released

We just pushed ESLint v9.15.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.14.0 released
2 min read

ESLint v9.14.0 released

We just pushed ESLint v9.14.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.13.0 released
1 min read

ESLint v9.13.0 released

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