
Highlights
Most of the highlights of this release are breaking changes, and are discussed further in the migration guide.
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@7.0.0-alpha.1 --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.
Breaking Changes
4293229Breaking: use-isnan enforceForSwitchCase defaulttrue(fixes #12810) (#12913) (Milos Djermanovic)cf38d0dBreaking: change default ignore pattern (refs eslint/rfcs#51) (#12888) (Toru Nagashima)bfe1dc4Breaking: no-dupe-class-members checks some computed keys (fixes #12808) (#12837) (Milos Djermanovic)c2217c0Breaking: makeradixrule stricter (#12608) (fisker Cheung)
Enhancements
1ee6b63Update: check template literal in yoda (fixes #12863) (#12876) (YeonJuan)439c833Update: array-callback-return checks Array.forEach (fixes #12551) (#12646) (Gabriel R Sezefredo)03a69dbUpdate: check template literal in no-proto, no-iterator (fixes #12801) (#12806) (YeonJuan)562e784Update: fix no-magic-numbers false negative with ignoreArrayIndexes (#12805) (Milos Djermanovic)0460748Update: check template literal in no-constant-condition (fixes #12815) (#12816) (YeonJuan)
Bug Fixes
1f1424cFix: fix inconsistently works option in no-extra-parens (fixes #12717) (#12843) (YeonJuan)b5adcaaFix: make YieldExpression throwable (fixes #12880) (#12897) (YeonJuan)95e0586Fix: id-blacklist false positives on renamed imports (#12831) (Milos Djermanovic)dadc892Fix: operator-assignment crash on adjacent division assignment (#12844) (Milos Djermanovic)a9d92f9Fix: radix rule crash on disabled globals (#12824) (Milos Djermanovic)533c114Fix: multiline-comment-style rule add extra space after * (fixes #12785) (#12823) (Karthik Priyadarshan)80309c3Fix: no-constant-condition doesn’t introspect arrays (fixes #12225) (#12307) (Sean Gray)
Documentation
f702b1aDocs: Add missing plugin reference (#12796) (Eduard Bardají Puig)824d235Docs: add errorOnUnmatchedPattern option to CLIEngine (#12834) (Arthur Denner)33efd71Docs: Fix spelling mistakes (#12861) (Bryan Mishkin)a5b3c5fDocs: Update README team and sponsors (ESLint Jenkins)d6c313dDocs: add missing eslint comments in prefer-regex-literals examples (#12858) (Milos Djermanovic)aea1729Docs: Fix anchor links in Node.js API TOC (#12821) (Matija Marohnić)
Chores
1907e57Chore: add Twitter and Open Collective badge (#12877) (Kai Cataldo)b7f0d20Chore: Use consistent badge style (#12825) (fisker Cheung)3734a66Chore: use ids for messages (#12859) (Gareth Jones)0cae920Chore: rename shadowed global (#12862) (Tony Brix)055b80dChore: Fix typo in complexity.js (#12864) (Kyle Shevlin)9f39ef0Chore: typo in PULL_REQUEST_TEMPLATE.md (#12848) (Balázs Orbán)a60d5cdChore: typo in no-irregular-whitespace.js (#12847) (Balázs Orbán)691d19aChore: add missingecmaVersion2020/11 type value (#12833) (Piotr Błażejewicz (Peter Blazejewicz))f5b9656Chore: add test for no-constant-condition (#12836) (Milos Djermanovic)10a79a6Chore: Adopteslint-plugin/require-meta-docs-descriptioninternally (#12762) (Bryan Mishkin)

