ESLint v7.2.0 releasedby Kai Cataldo - 5 June 2020
We 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.
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"
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.
b735a48Update: add enforceForFunctionPrototypeMethods option to no-extra-parens (#12895) (Milos Djermanovic)
27ef73fUpdate: reporter locr of func-call-spacing (refs #12334) (#13311) (Anix)
353bfe9Update: handle parentheses in multiline-ternary (fixes #13195) (#13367) (Milos Djermanovic)
a7fd343Update: keyword-spacing unexpected space loc improve (refs #12334) (#13377) (Anix)
??operator, import.meta, and
export * as ns(#13196) (Toru Nagashima)
d5fce9fUpdate: enable es2020 environment in --init (#13357) (Milos Djermanovic)
b76aef7Update: Improve report location for template-tag-spacing (refs #12334) (#13203) (Milos Djermanovic)
cb50b69Update: Improve location for no-mixed-spaces-and-tabs (refs #12334) (#13365) (Milos Djermanovic)
e49732eFix: Ignore import expressions in no-unused-expressions rule (#13387) (Veniamin Krol)
426088cFix: no-unused-vars updated location to last reference (fixes #13181) (#13354) (Anix)
220349fChore: Remove duplicate health files (#13380) (Nicholas C. Zakas)
578efadChore: update no-unused-vars caughtErrors in eslint-config-eslint (#13351) (Milos Djermanovic)
f858f2aChore: Add Tidelift to funding.yml (#13371) (Nicholas C. Zakas)
c29bd9fChore: Add breaking/core change link to issue templates (#13344) (Kai Cataldo)