ESLint v8.1.0 released
by Milos Djermanovic - 22 October 2021We just pushed ESLint v8.1.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
- One new rule has been added: no-unused-private-class-members. This rule reports unused class private fields, methods and accessors.
- RuleTester now allows
name
property in test case objects. If you specifyname
, it will be output instead of the code.
Features
3d370fb
New: Add no-unused-private-class-members rule (fixes #14859) (#14895) (Tim van der Lippe)e926b17
New: Add name to RuleTester (#15179) (Gareth Jones)
Bug Fixes
d9d84a0
Fix: keyword-spacing conflict with space-infix-ops on>
(fixes #14712) (#15172) (Milos Djermanovic)a1f7ad7
Fix: allowbaseConfig
to extend preloaded plugin config (fixes #15079) (#15187) (Milos Djermanovic)
Documentation
446b4b3
Docs: Update commit message format docs (#15200) (Nicholas C. Zakas)0fb3bb2
Docs: removeinstanceof
from keyword-spacing docs (#15180) (Milos Djermanovic)35f3254
Docs: Describe range in rule docs (fixes #14162) (#15174) (Nicholas C. Zakas)2b32f50
Docs: Fix typo in README.md (#15168) (Dmitriy Fishman)2cfbd4b
Docs: Update README team and sponsors (ESLint Jenkins)
Dependency Upgrades
Build Related
Chores
90a5b6b
Chore: improve performance of:function
selector (#15181) (Milos Djermanovic)31af1c8
Chore: fix counting of files in performance test (#15190) (Milos Djermanovic)b5049c8
Chore: Update stale bot settings (#15173) (Nicholas C. Zakas)dd58cd4
Chore: migrate master to main (#15062) (Nitesh Seram)ec0f8e0
Chore: Add stale issue/PR checker (#15151) (Nicholas C. Zakas)