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 v5.0.0-rc.0 released

We just pushed ESLint v5.0.0-rc.0, which is a major release candidate of ESLint. This release adds some new features and fixes several bugs found in the previous release.

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

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

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@5.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

  • fe8bec3 Fix: fix writing config file when source is prompt (#10422) (Pig Fang)
  • 3e9f33a Fix: prevent crashing from JSON parsing error (fixes #10364) (#10376) (Pig Fang)
  • 636457d Fix: parse later ES files in eslint --init (fixes #10003) (#10378) (Pig Fang)

Documentation

  • 3721841 Docs: Add new experimental syntax policy to README (fixes #9804) (#10408) (Kevin Partington)
  • d0aae3c Docs: Create docs landing page (#10453) (Kevin Partington)
  • 1984c21 Docs: move custom parsers docs into a page (fixes #9919) (#10431) (Pig Fang)
  • 400d4b5 Docs: Add rest and spread operator changes to migration guide (#10416) (Yannick Croissant)

Dependency Upgrades

  • e2b394d Upgrade: espree and eslint-scope to rc versions (#10457) (Kevin Partington)
  • e7bdd02 Upgrade: Consume espree@4.0.0-alpha.1 (#10410) (Kevin Partington)
  • 831c39a Build: Adding rc release script to package.json (#10456) (Kevin Partington)

Chores

  • a370da2 Chore: small opt to improve readability (#10241) (薛定谔的猫)

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.