ESLint v7.3.0 released
by Brandon Mills - 19 June 2020We just pushed ESLint v7.3.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
- The new no-promise-executor-return rule prevents returning unreadable values from inside
new Promise(...)
executors. - The new no-unreachable-loop rule catches loops that are guaranteed to execute only once.
- Several rules have been updated to report more accurate source code locations.
- Several rule option schemas have been improved to catch configuration typos.
Features
9e1414e
New: Add no-promise-executor-return rule (fixes #12640) (#12648) (Milos Djermanovic)b550330
New: Add no-unreachable-loop rule (fixes #12381) (#12660) (Milos Djermanovic)
Enhancements
638a6d6
Update: add missingadditionalProperties: false
to some rules' schema (#13198) (Milos Djermanovic)949a5cd
Update: fix operator-linebreak overrides schema (#13199) (Milos Djermanovic)09cc0a2
Update: max-lines reporting loc improvement (refs #12334) (#13318) (Anix)ee2fc2e
Update: object-property-newline end location (refs #12334) (#13399) (Anix)d98152a
Update: added empty error array check for false negative (#13200) (Anix)7686d7f
Update: semi-spacing should check do-while statements (#13358) (Milos Djermanovic)cbd0d00
Update: disallow multiple options in comma-dangle schema (fixes #13165) (#13166) (Milos Djermanovic)13999d2
Update: curly should check consequentif
statements (#12947) (Milos Djermanovic)6cfbd03
Update: Drop @typescript-eslint/eslint-recommended fromeslint --init
(#13340) (Minh Nguyen)2a21049
Update: key-spacing loc changes for extra space (refs #12334) (#13362) (Anix)
Bug Fixes
Documentation
9d0186e
Docs: Fix changelog versions (#13410) (Tony Brix)1ee3c42
Docs: On maxEOF with eol-last (fixes #12742) (#13374) (Arthur Dias)0f1f5ed
Docs: Add security policy link to README (#13403) (Nicholas C. Zakas)