ESLint v7.2.0 released
by Kai Cataldo - 5 June 2020We just pushed ESLint v7.2.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
Highlights
ECMAScript 2020 syntax support has landed in ESLint! This release adds support for the following language features in the default parser and core rules:
- Nullish coalescing operator
export * as ns from "source"
import.meta
Note: We are aware that optional chaining support is still missing. If you're interested in following the process of implementing support for this syntax, please subscribe to this ESTree issue.
Enhancements
b735a48
Update: add enforceForFunctionPrototypeMethods option to no-extra-parens (#12895) (Milos Djermanovic)27ef73f
Update: reporter locr of func-call-spacing (refs #12334) (#13311) (Anix)353bfe9
Update: handle parentheses in multiline-ternary (fixes #13195) (#13367) (Milos Djermanovic)a7fd343
Update: keyword-spacing unexpected space loc improve (refs #12334) (#13377) (Anix)dd949ae
Update: support??
operator, import.meta, andexport * as ns
(#13196) (Toru Nagashima)d5fce9f
Update: enable es2020 environment in --init (#13357) (Milos Djermanovic)b76aef7
Update: Improve report location for template-tag-spacing (refs #12334) (#13203) (Milos Djermanovic)cb50b69
Update: Improve location for no-mixed-spaces-and-tabs (refs #12334) (#13365) (Milos Djermanovic)
Bug Fixes
e49732e
Fix: Ignore import expressions in no-unused-expressions rule (#13387) (Veniamin Krol)426088c
Fix: no-unused-vars updated location to last reference (fixes #13181) (#13354) (Anix)
Documentation
Chores
220349f
Chore: Remove duplicate health files (#13380) (Nicholas C. Zakas)578efad
Chore: update no-unused-vars caughtErrors in eslint-config-eslint (#13351) (Milos Djermanovic)f858f2a
Chore: Add Tidelift to funding.yml (#13371) (Nicholas C. Zakas)c29bd9f
Chore: Add breaking/core change link to issue templates (#13344) (Kai Cataldo)