ESLint v8.0.0-rc.0 released

by Milos Djermanovic - 24 September 2021

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

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)