Published under: Release Notes
1 min read
Highlights
eslint --init
can automatically configure TypeScript support for ESLint in a new project.- The new
reportUnusedDisableDirectives
config option mirrors the existing--report-unused-disable-directives
CLI flag.
Features
52e2cf5
New: reportUnusedDisableDirectives in config (refs eslint/rfcs#22) (#12151) (Toru Nagashima)4c0b70b
New: support TypeScript at config initializer (fixes #11789) (#12172) (Pig Fang)
Enhancements
020f952
Update: enforceForSequenceExpressions to no-extra-parens (fixes #11916) (#12142) (Milos Djermanovic)
Bug Fixes
aab1b84
Fix: reset to the default color (#12174) (Ricardo Gobbo de Souza)4009d39
Fix: yoda rule produces invalid autofix with preceding yield (#12166) (Milos Djermanovic)febb660
Fix: no-extra-boolean-cast invalid autofix with yield before negation (#12164) (Milos Djermanovic)197f443
Fix: func-name-matching crash on descriptor-like arguments (#12100) (Milos Djermanovic)644ce33
Fix: no-self-assign false positive with rest and spread in array (#12099) (Milos Djermanovic)a81d263
Fix: fix message of function-paren-newline (#12136) (Pig Fang)
Documentation
00d2c5b
Docs: corrected class extension example (#12176) (Marius M)6abc7b7
Docs: Document the exception in no-unsafe-negation (#12161) (Milos Djermanovic)
Chores
0acdefb
Chore: refactor code (#12113) (James George)94e39d9
Chore: use GitHub Actions (#12144) (Toru Nagashima)e88f305
Chore: support es2020 in fuzz (#12180) (薛定谔的猫)31e5428
Chore: Fix wrong error object keys in test files (#12162) (Milos Djermanovic)77f8ed1
Chore: update blogpost template (#12154) (Toru Nagashima)