ESLint v8.27.0 released

We just pushed ESLint v8.27.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 new no-new-native-nonconstructor rule protects against newing BigInts and Symbols, which would throw an error. The existing no-new-symbol rule only checks for new Symbol. no-new-native-nonconstructor will take the place of no-new-symbol in eslint:recommended in the next major release.
  • The new no-empty-static-block rule disallows empty ES2022 class static initialization blocks.

Features

Bug Fixes

  • c3ce521 fix: Ensure unmatched glob patterns throw an error (#16462) (Nicholas C. Zakas)
  • 886a038 fix: handle files with unspecified path in getRulesMetaForResults (#16437) (Francesco Trotta)

Documentation

  • ce93b42 docs: Stylelint property-no-unknown (#16497) (Nick Schonning)
  • d2cecb4 docs: Stylelint declaration-block-no-shorthand-property-overrides (#16498) (Nick Schonning)
  • 0a92805 docs: stylelint color-hex-case (#16496) (Nick Schonning)
  • 74a5af4 docs: fix stylelint error (#16491) (Milos Djermanovic)
  • 324db1a docs: explicit stylelint color related rules (#16465) (Nick Schonning)
  • 94dc4f1 docs: use Stylelint for HTML files (#16468) (Nick Schonning)
  • cc6128d docs: enable stylelint declaration-block-no-duplicate-properties (#16466) (Nick Schonning)
  • d03a8bf docs: Add heading to justification explanation (#16430) (Maritaria)
  • 8a15968 docs: add Stylelint configuration and cleanup (#16379) (Nick Schonning)
  • 9b0a469 docs: note commit messages don’t support scope (#16435) (Andy Edwards)
  • 1581405 docs: improve context.getScope() docs (#16417) (Ben Perlmutter)
  • b797149 docs: update formatters template (#16454) (Milos Djermanovic)
  • 5ac4de9 docs: fix link to formatters on the Core Concepts page (#16455) (Vladislav)
  • 33313ef docs: core-concepts: fix link to semi rule (#16453) (coderaiser)

The latest ESLint news, case studies, tutorials, and resources.

ESLint v8.30.0 released
1 min read

ESLint v8.30.0 released

We just pushed ESLint v8.30.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

ESLint v8.29.0 released
1 min read

ESLint v8.29.0 released

We just pushed ESLint v8.29.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

ESLint v8.28.0 released
1 min read

ESLint v8.28.0 released

We just pushed ESLint v8.28.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.