ESLint v8.7.0 released
by Brandon Mills - 15 January 2022We just pushed ESLint v8.7.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 functionality behind
eslint --init
has been pulled into a standalone@eslint/create-config
package. Now, you can initialize ESLint in a new project withnpm init @eslint/config
,npx @eslint/create-config
, oryarn create @eslint/config
. - Several rules gained support for arbitrary module namespace names.
Features
19ad061
feat: no-restricted-imports support casing (#15439) (gfyoung)564ecdb
feat: Support arbitrary module namespace names in no-restricted-imports (#15491) (Milos Djermanovic)968a02a
feat: Support arbitrary module namespace names in no-useless-rename (#15493) (Milos Djermanovic)0d2b9a6
feat: moveeslint --init
to @eslint/create-config (#15150) (唯然)127f524
feat: false negative withproperty
option inid-match
(#15474) (Nitin Kumar)359b2c1
feat: Support arbitrary module namespace names in the camelcase rule (#15490) (Milos Djermanovic)3549571
feat: Support arbitrary module namespace names in the quotes rule (#15479) (Milos Djermanovic)5563c45
feat: Support arbitrary module namespace names in keyword-spacing (#15481) (Milos Djermanovic)fd3683f
feat: Support arbitrary module namespace names in no-restricted-exports (#15478) (Milos Djermanovic)
Bug Fixes
a8db9a5
fix: no-invalid-this false positive in class field initializer (#15495) (Milos Djermanovic)02d6426
fix: Correctly consume RuleTester statics (#15507) (Brad Zacher)db15802
fix: Add propertyfatalErrorCount
to ignored file results (#15520) (Francesco Trotta)03ac8cf
fix: Prevent false positives with no-constant-condition (#15486) (Jordan Eldredge)
Documentation
f50f849
docs: Update CLI docs to prefer local install (#15513) (Nicholas C. Zakas)0469eb1
docs: Update shell code fences for new website (#15522) (Olga)