ESLint v6.0.0-alpha.2 released
by Kai Cataldo - 25 May 2019We just pushed ESLint v6.0.0-alpha.2, which is a new prerelease 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
- Configuration using glob patterns now supports
extends
and nestedoverrides
- Using multiple processors is now supported
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-alpha.2 --save-dev
Migration Guide
If you're upgrading from ESLint v5.x, we recommend looking at the migration guide, which describes 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.
Breaking Changes
Features
b5fa149
New: multiple processors support (fixes #11035, fixes #11725) (#11552) (Toru Nagashima)54e6eda
New: extends in glob-based config (fixes #8813) (#11554) (Toru Nagashima)
Enhancements
cf9cce8
Update: Add never option for new-parens (refs #10034) (#11379) (pfgithub)71716eb
Update: add fixer for no-div-regex rule (fixes #11355) (#11744) (joe-re)53f7f4c
Update: Uniform messages for the rules in "complexity" section (#11759) (Igor Novozhilov)
Bug Fixes
f9790ca
Fix: typo: missing word in docs (#11750) (Dimitri Mitropoulos)5dad0b1
Fix: Unignoring directories in .eslintignore (fixes #11684) (#11685) (Mykola Bilochub)7c8e86b
Fix: wrong 'plugin-missing' error on Node.js 12 (fixes #11720) (#11722) (Toru Nagashima)
Documentation
45bd336
Docs: add about RuleTester's parser to migration guide (fixes #11728) (#11761) (Toru Nagashima)1374be4
Docs: add table of contents in readme (#11765) (薛定谔的猫)e45cc3f
Docs: updated no-proto rule (fixes #11743) (#11746) (Francesco Trotta)4625090
Docs: small fix about the migration guide (#11729) (Toru Nagashima)
Chores
9b87fee
Chore: Fix formatter documentation generation (#11767) (Ilya Volodin)f116208
Chore: Fix site generation script for releases (#11766) (Ilya Volodin)0a801d7
Chore: improve perf test (#11756) (薛定谔的猫)ec105b2
Chore: typo in JSDoc on timing.display's return value (#11755) (Dimitri Mitropoulos)15c6c63
Chore: eslint-config-eslint require node >= 8 (#11718) (薛定谔的猫)219aecb
Chore: restructure files (#11555) (Toru Nagashima)67c671f
Chore: ignore deprecated rules in fuzz tests (#11710) (Pig Fang)af81cb3
Chore: make fuzzer produce minimal reproducible examples of bugs (#11700) (Teddy Katz)