ESLint v8.26.0 released

We just pushed ESLint v8.26.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 no-implicit-globals rule now supports /* exported */ directive comments.

  • ESLINT_USE_FLAT_CONFIG environment variable can now be used for more control over switching between the current and the new config system.

  • The @eslint/create-config utility to create ESLint config files has a new option --config:

    # npm 6.x
    npm init @eslint/config --config semistandard

    # npm 7+
    npm init @eslint/config -- --config semistandard

Features

Bug Fixes

  • df77409 fix: use baseConfig constructor option in FlatESLint (#16432) (Milos Djermanovic)
  • 33668ee fix: Ensure that glob patterns are matched correctly. (#16449) (Nicholas C. Zakas)
  • 740b208 fix: ignore messages without a ruleId in getRulesMetaForResults (#16409) (Francesco Trotta)
  • 8f9759e fix: --ignore-pattern in flat config mode should be relative to cwd (#16425) (Milos Djermanovic)
  • 325ad37 fix: make getRulesMetaForResults return a plain object in trivial case (#16438) (Francesco Trotta)
  • a2810bc fix: Ensure that directories can be unignored. (#16436) (Nicholas C. Zakas)
  • 35916ad fix: Ensure unignore and reignore work correctly in flat config. (#16422) (Nicholas C. Zakas)

Documentation

  • 651649b docs: Core concepts page (#16399) (Ben Perlmutter)
  • 631cf72 docs: note --ignore-path not supported with flat config (#16434) (Andy Edwards)
  • 1692840 docs: fix syntax in examples for new config files (#16427) (Milos Djermanovic)
  • d336cfc docs: Document extending plugin with new config (#16394) (Ben Perlmutter)

Chores

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

ESLint v9.14.0 released
2 min read

ESLint v9.14.0 released

We just pushed ESLint v9.14.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 v9.13.0 released
1 min read

ESLint v9.13.0 released

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