ESLint v6.0.0 released
by Kai Cataldo - 21 June 2019We just pushed ESLint v6.0.0, which is a major release 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.
Highlights
- There are several breaking changes in 6.0.0. We've created a migration guide to explain the breaking changes and describe how to upgrade.
- Configuration using glob patterns now supports
extends
and nestedoverrides
- Using multiple processors is now supported.
- The
function-paren-newline
rule has a newmultiline-arguments
option. - The
sort-keys
rule now supports aminKeys
option.
Changes since v6.0.0-rc.0:
Bug Fixes
5f022bc
Fix: no-else-return autofix produces name collisions (fixes #11069) (#11867) (Milos Djermanovic)ded9548
Fix: multiline-comment-style incorrect message (#11864) (golopot)c844c6f
Fix: max-len properly ignore trailing comments (fixes #11838) (#11841) (ZYSzys)1b5661a
Fix: no-var should not fix variables named 'let' (fixes #11830) (#11832) (Milos Djermanovic)81c3823
Fix: require-atomic-updates reports parameters (fixes #11723) (#11774) (Toru Nagashima)
Documentation
cad074d
Docs: Add JSHint W047 compat to no-floating-decimal (#11861) (Timo Tijhof)65faa04
Docs: Clarify prefer-destructuring array/object difference (fixes #9970) (#11851) (Oliver Sieweke)
Dependency Upgrades
81aa06b
Upgrade: espree@6.0.0 (#11869) (Teddy Katz)41f6304
Upgrade: sinon (#11855) (Toru Nagashima)c57a4a4
Upgrade: @babel/polyfill => core-js v3 (#11833) (薛定谔的猫)