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 --inithas been pulled into a standalone@eslint/create-configpackage. 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
19ad061feat: no-restricted-imports support casing (#15439) (gfyoung)564ecdbfeat: Support arbitrary module namespace names in no-restricted-imports (#15491) (Milos Djermanovic)968a02afeat: Support arbitrary module namespace names in no-useless-rename (#15493) (Milos Djermanovic)0d2b9a6feat: moveeslint --initto @eslint/create-config (#15150) (唯然)127f524feat: false negative withpropertyoption inid-match(#15474) (Nitin Kumar)359b2c1feat: Support arbitrary module namespace names in the camelcase rule (#15490) (Milos Djermanovic)3549571feat: Support arbitrary module namespace names in the quotes rule (#15479) (Milos Djermanovic)5563c45feat: Support arbitrary module namespace names in keyword-spacing (#15481) (Milos Djermanovic)fd3683ffeat: Support arbitrary module namespace names in no-restricted-exports (#15478) (Milos Djermanovic)
Bug Fixes
a8db9a5fix: no-invalid-this false positive in class field initializer (#15495) (Milos Djermanovic)02d6426fix: Correctly consume RuleTester statics (#15507) (Brad Zacher)db15802fix: Add propertyfatalErrorCountto ignored file results (#15520) (Francesco Trotta)03ac8cffix: Prevent false positives with no-constant-condition (#15486) (Jordan Eldredge)
Documentation
f50f849docs: Update CLI docs to prefer local install (#15513) (Nicholas C. Zakas)0469eb1docs: Update shell code fences for new website (#15522) (Olga)