
Highlights
- The new no-new-native-nonconstructorrule protects againstnewingBigInts andSymbols, which would throw an error. The existingno-new-symbolrule only checks fornew Symbol.no-new-native-nonconstructorwill take the place ofno-new-symbolineslint:recommendedin the next major release.
- The new no-empty-static-blockrule disallows empty ES2022 class static initialization blocks.
Features
- f14587cfeat: new- no-new-native-nonconstructorrule (#16368) (Sosuke Suzuki)
- 978799bfeat: add new rule- no-empty-static-block(#16325) (Sosuke Suzuki)
- 69216eefeat: no-empty suggest to add comment in empty BlockStatement (#16470) (Nitin Kumar)
- 319f0a5feat: use- context.languageOptions.ecmaVersionin core rules (#16458) (Milos Djermanovic)
Bug Fixes
- c3ce521fix: Ensure unmatched glob patterns throw an error (#16462) (Nicholas C. Zakas)
- 886a038fix: handle files with unspecified path in- getRulesMetaForResults(#16437) (Francesco Trotta)
Documentation
- ce93b42docs: Stylelint property-no-unknown (#16497) (Nick Schonning)
- d2cecb4docs: Stylelint declaration-block-no-shorthand-property-overrides (#16498) (Nick Schonning)
- 0a92805docs: stylelint color-hex-case (#16496) (Nick Schonning)
- 74a5af4docs: fix stylelint error (#16491) (Milos Djermanovic)
- 324db1adocs: explicit stylelint color related rules (#16465) (Nick Schonning)
- 94dc4f1docs: use Stylelint for HTML files (#16468) (Nick Schonning)
- cc6128ddocs: enable stylelint declaration-block-no-duplicate-properties (#16466) (Nick Schonning)
- d03a8bfdocs: Add heading to justification explanation (#16430) (Maritaria)
- 8a15968docs: add Stylelint configuration and cleanup (#16379) (Nick Schonning)
- 9b0a469docs: note commit messages don’t support scope (#16435) (Andy Edwards)
- 1581405docs: improve context.getScope() docs (#16417) (Ben Perlmutter)
- b797149docs: update formatters template (#16454) (Milos Djermanovic)
- 5ac4de9docs: fix link to formatters on the Core Concepts page (#16455) (Vladislav)
- 33313efdocs: core-concepts: fix link to semi rule (#16453) (coderaiser)
