Published under: Release Notes
2 min read
Highlights
- The no-unused-expressions rule has a new option
enforceForJSX
to 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
ad90761
Update: add enforceForJSX option to no-unused-expressions rule (#14012) (Duncan Beevers)
Bug Fixes
9d6063a
Fix: Crash with esquery when using JSX (fixes #13639) (#14072) (Yosuke Ota)d6c84af
Fix:--init
autoconfig shouldn’t add deprecated rules (fixes #14017) (#14060) (Milos Djermanovic)9b277a1
Fix: Support ENOTDIR error code in the folder existence checking utility (#13973) (Constantine Genchevsky)
Documentation
f4ac3b0
Docs: fix sibling selector descriptions (#14099) (Milos Djermanovic)a0871f1
Docs: Triage process (#14014) (Nicholas C. Zakas)b4e2af5
Docs: Add more fields to bug report template (#14039) (Nicholas C. Zakas)
Dependency Upgrades
Build Related
cb27b0a
Build: package.json update for eslint-config-eslint release (ESLint Jenkins)