ESLint v7.20.0 released
by Milos Djermanovic - 12 February 2021We just pushed ESLint v7.20.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 no-unused-expressions rule has a new option enforceForJSXto flag unused JSX elements.
- The following selectors have been updated to support JSX and custom parsers: :first-child,:last-child,:nth-child(n),:nth-last-child(n), sibling~, and adjacent sibling+. All selectors now support JSX and custom parsers.
Enhancements
- ad90761Update: add enforceForJSX option to no-unused-expressions rule (#14012) (Duncan Beevers)
Bug Fixes
- 9d6063aFix: Crash with esquery when using JSX (fixes #13639) (#14072) (Yosuke Ota)
- d6c84afFix:- --initautoconfig shouldn't add deprecated rules (fixes #14017) (#14060) (Milos Djermanovic)
- 9b277a1Fix: Support ENOTDIR error code in the folder existence checking utility (#13973) (Constantine Genchevsky)
Documentation
- f4ac3b0Docs: fix sibling selector descriptions (#14099) (Milos Djermanovic)
- a0871f1Docs: Triage process (#14014) (Nicholas C. Zakas)
- b4e2af5Docs: Add more fields to bug report template (#14039) (Nicholas C. Zakas)
Dependency Upgrades
Build Related
- cb27b0aBuild: package.json update for eslint-config-eslint release (ESLint Jenkins)