ESLint v8.x end-of-life is 2024-10-05 and will not be maintained after that. Upgrade or consider long-term support options

ESLint v8.0.0-rc.0 released

We just pushed ESLint v8.0.0-rc.0, which is a new prerelease version for ESLint v8. This release adds some new features and fixes several bugs found in the previous release.

Highlights

This is a summary of the major changes you need to know about for this version of ESLint.

This version of ESLint is provided to gather feedback from the community before releasing the final version. Please try it and report any unexpected issues.

Installing

Since this is a pre-release version, you will not automatically be upgraded by npm. You must specify the next tag when installing:

npm i eslint@next --save-dev

You can also specify the version directly:

npm i eslint@8.0.0-rc.0 --save-dev

Migration Guide

As there are a lot of changes, we’ve created a migration guide describing the changes in great detail along with the steps you should take to address them. We expect that most users should be able to upgrade without any build changes, but the migration guide should be a useful resource if you encounter problems.

Enhancements

Bug Fixes

  • c9efb5f Fix: preserve formatting when rules are removed from disable directives (#15081) (Milos Djermanovic)

Documentation

  • 7f2346b Docs: Update release blog post template (#15094) (Nicholas C. Zakas)
  • a744dfa Docs: Update CLA info (#15058) (Brian Warner)

Chores

  • fabdf8a Chore: Remove target.all from Makefile.js (#15088) (Hirotaka Tagawa / wafuwafu13)
  • 05d7140 Chore: document target global in Makefile.js (#15084) (Hirotaka Tagawa / wafuwafu13)
  • 47be800 Chore: test Property > .key with { a = 1 } pattern (fixes #14799) (#15072) (Milos Djermanovic)
  • 9fb0f70 Chore: fix bug report template (#15061) (Milos Djermanovic)
  • f87e199 Chore: Cleanup issue templates (#15039) (Nicholas C. Zakas)

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

Trunk becomes ESLint gold sponsor
1 min read

Trunk becomes ESLint gold sponsor

We are happy to announce that Trunk is a gold sponsor of ESLint. We are grateful to founders Eli Schleifer and David Apirian, as well as the whole Trunk team.

ESLint v9.9.1 released
1 min read

ESLint v9.9.1 released

We just pushed ESLint v9.9.1, which is a patch release upgrade of ESLint. This release fixes several bugs found in the previous release.

ESLint v9.9.0 released
1 min read

ESLint v9.9.0 released

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