ESLint v6.0.0 released
We 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
extendsand nestedoverrides - Using multiple processors is now supported.
- The
function-paren-newlinerule has a newmultiline-argumentsoption. - The
sort-keysrule now supports aminKeysoption.
Changes since v6.0.0-rc.0:
Bug Fixes
5f022bcFix: no-else-return autofix produces name collisions (fixes #11069) (#11867) (Milos Djermanovic)ded9548Fix: multiline-comment-style incorrect message (#11864) (golopot)c844c6fFix: max-len properly ignore trailing comments (fixes #11838) (#11841) (ZYSzys)1b5661aFix: no-var should not fix variables named ‘let’ (fixes #11830) (#11832) (Milos Djermanovic)81c3823Fix: require-atomic-updates reports parameters (fixes #11723) (#11774) (Toru Nagashima)
Documentation
cad074dDocs: Add JSHint W047 compat to no-floating-decimal (#11861) (Timo Tijhof)65faa04Docs: Clarify prefer-destructuring array/object difference (fixes #9970) (#11851) (Oliver Sieweke)
Dependency Upgrades
81aa06bUpgrade: espree@6.0.0 (#11869) (Teddy Katz)41f6304Upgrade: sinon (#11855) (Toru Nagashima)c57a4a4Upgrade: @babel/polyfill => core-js v3 (#11833) (薛定谔的猫)