ESLint v6.0.0-rc.0 released

We just pushed ESLint v6.0.0-rc.0, which is a new prerelease version for ESLint v6. 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.

Highlights

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

  1. BigInt and dynamic import are at stage 4 (aside from some TC39 formalities), so we have begun to accept PRs to incorporate them into core ESLint rules. The valid-typeof rule now supports BigInt. Please see #11803 to track our progress in fully supporting these newly standardized language features.
  2. The sort-keys rule now supports a minKeys option.

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

Features

Enhancements

Bug Fixes

Documentation

  • 20908a3 Docs: removed '>' prefix from from docs/working-with-rules (#11818) (Alok Takshak)

Chores

  • e0fafc8 Chore: removes unnecessary assignment in loop (#11780) (Dimitri Mitropoulos)
  • 8eaa9b2 Chore: remove incorrect comment (#11769) (薛定谔的猫)
  • 4039a49 Chore: add .github/funding.yml (#11764) (Toru Nagashima)