ESLint v8.x end-of-life is 2024-10-05 and will not be maintained after that. Upgrade or consider long-term support options

ESLint v2.6.0 released

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

Enhancements

  • 7aacba7 Update: Deprecate option maximum in favor of max (fixes #5685) (Vitor Balocco)
  • 9b73ffd Update: destructuring option of prefer-const rule (fixes #5594) (Toru Nagashima)
  • 24a61a4 Update: make no-useless-escape allowing line breaks (fixes #5689) (Toru Nagashima)
  • f59d91d Update: no-param-reassign error msgs (fixes #5705) (Isaac Levy)
  • 8d0cd0d Update: Basic valid-jsdoc default parameter support (fixes #5658) (Tom Andrews)

Bug Fixes

  • ce2accd Fix: vars-on-top now accepts exported variables (fixes #5711) (Olmo Kramer)
  • 5fe6fca Fix: no-useless-escape \B regex escape (fixes #5750) (Onur Temizkan)
  • 12902c5 Fix: valid-jsdoc crash w/ Field & Array Type (fixes #5745) (fixes #5746) (Burak Yigit Kaya)
  • d736bc2 Fix: Treat SwitchCase like a block in lines-around-comment (fixes #5718) (Scott O’Hara)
  • 4ecd45e Fix: Ensure proper lookup of config files (fixes #5175, fixes #5468) (Nicholas C. Zakas)
  • 088e26b Fix: Update doctrine to allow hyphens in JSDoc names (fixes #5612) (Kai Cataldo)
  • c1b16cd Fix: Object spread throws error in key-spacing rule. (fixes #5724) (Ziad El Khoury Hanna)
  • cb0f0be Fix: Lint issue with valid-jsdoc rule (refs #5188) (Gyandeep Singh)
  • a35f127 Fix: Lint for eslint project in regards to vars (refs #5188) (Gyandeep Singh)
  • d9ab4f0 Fix: Windows scoped package configs (fixes #5644) (Nicholas C. Zakas)

Documentation

  • 8ac9206 Docs: Typo in sort-imports (alberto)
  • 2c8b65a Docs: Edit examples for a few rules (Mark Pedrotti)
  • 3091613 Docs: Correct explanation about properties (James Monger)

Dependency Upgrades

  • 692fd5d Upgrade: Old Chalk.JS deprecated method (fixes #5716) (Morris Singer)
  • aba1954 Build: Ignore jsdoc folder internally (fixes #5714) (alberto)

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

ESLint v9.9.1 released
1 min read

ESLint v9.9.1 released

We just pushed ESLint v9.9.1, which is a patch release upgrade of ESLint. This release fixes several bugs found in the previous release.

ESLint v9.9.0 released
1 min read

ESLint v9.9.0 released

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

ESLint v9.8.0 released

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