ESLint v6.3.0 released
by Brandon Mills - 30 August 2019We just pushed ESLint v6.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
- eslint --initcan automatically configure TypeScript support for ESLint in a new project.
- The new reportUnusedDisableDirectivesconfig option mirrors the existing--report-unused-disable-directivesCLI flag.
Features
- 52e2cf5New: reportUnusedDisableDirectives in config (refs eslint/rfcs#22) (#12151) (Toru Nagashima)
- 4c0b70bNew: support TypeScript at config initializer (fixes #11789) (#12172) (Pig Fang)
Enhancements
- 020f952Update: enforceForSequenceExpressions to no-extra-parens (fixes #11916) (#12142) (Milos Djermanovic)
Bug Fixes
- aab1b84Fix: reset to the default color (#12174) (Ricardo Gobbo de Souza)
- 4009d39Fix: yoda rule produces invalid autofix with preceding yield (#12166) (Milos Djermanovic)
- febb660Fix: no-extra-boolean-cast invalid autofix with yield before negation (#12164) (Milos Djermanovic)
- 197f443Fix: func-name-matching crash on descriptor-like arguments (#12100) (Milos Djermanovic)
- 644ce33Fix: no-self-assign false positive with rest and spread in array (#12099) (Milos Djermanovic)
- a81d263Fix: fix message of function-paren-newline (#12136) (Pig Fang)
Documentation
- 00d2c5bDocs: corrected class extension example (#12176) (Marius M)
- 6abc7b7Docs: Document the exception in no-unsafe-negation (#12161) (Milos Djermanovic)
Chores
- 0acdefbChore: refactor code (#12113) (James George)
- 94e39d9Chore: use GitHub Actions (#12144) (Toru Nagashima)
- e88f305Chore: support es2020 in fuzz (#12180) (薛定谔的猫)
- 31e5428Chore: Fix wrong error object keys in test files (#12162) (Milos Djermanovic)
- 77f8ed1Chore: update blogpost template (#12154) (Toru Nagashima)