ESLint v8.35.0 released

We just pushed ESLint v8.35.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

  • ESLint’s predefined recommended and all configs are now exported from a new @eslint/js package. Those using "eslint:recommended" or "eslint:all" as strings in the new flat config format should instead install and import @eslint/js and reference predefined configs as js.configs.recommended or js.configs.all.
  • The no-constant-binary-expression rule now catches more cases involving the nullish coalescing operator, ??.
  • A new version of the esquery selector engine includes performance improvements covered in a blog post by Marvin Hagemeister.

Features

Bug Fixes

Documentation

  • f9f195e docs: Plugin docs cleanup & expansion (#16862) (Ben Perlmutter)
  • df809fd docs: Custom Formatters page cleanup/expansion (#16886) (Ben Perlmutter)
  • 0700d1b docs: Add PostCSS/Autoprefixer/CSSNano (#16502) (Nick Schonning)
  • 7b9e9bf docs: support unicode anchors (#16782) (Percy Ma)
  • 5fbc0bf docs: Update README (GitHub Actions Bot)
  • 67865a0 docs: Remove mention of mailing list (#16869) (Amaresh S M)
  • 43af24a docs: Add explanation of when to use ‘warn’ severity (#16882) (Nicholas C. Zakas)
  • ed2999b docs: Shareable configs page edits and expansion (#16824) (Ben Perlmutter)
  • 2780635 docs: fix typos (#16884) (Lioness100)
  • 5bdaae2 docs: Ways to Extend ESLint page (#16861) (Ben Perlmutter)

Chores

  • cdcbe12 chore: upgrade @eslint/js@8.35.0 (#16935) (Brandon Mills)
  • c954c34 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • 5a517da chore: package.json update for @eslint/js release (ESLint Jenkins)
  • 9f10926 chore: upgrade @eslint/eslintrc@2.0.0 (#16928) (Milos Djermanovic)
  • da728fa ci: use LTS node version in workflows (#16907) (Nitin Kumar)
  • c57b4f3 perf: upgrade to esquery@1.4.2 (#16901) (Milos Djermanovic)
  • 9122f07 chore: Update stale bot settings (#16870) (Nicholas C. Zakas)

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

ESLint v9.0.0 released
12 min read

ESLint v9.0.0 released

We just pushed ESLint v9.0.0, which is a major release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. This release also has some breaking changes, so please read the following closely.

Introducing ESLint Config Inspector
2 min read

Introducing ESLint Config Inspector

Introducing the ESLint Config Inspector, a visual tool to help you understand and inspect ESLint flat configuration files.

ESLint v9.0.0-rc.0 released
2 min read

ESLint v9.0.0-rc.0 released

We just pushed ESLint v9.0.0-rc.0, which is a major release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. This release also has some breaking changes, so please read the following closely.