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.13.0 released

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

Highlights

This is a summary of the major changes you need to know about for this version of ESLint.

Last 2.x Release

This is the last planned 2.x release. The next scheduled release is 3.0.0, which contains several small breaking changes. While there are breaking changes, we expect the impact to users to be very minimal. You can review the 3.0.0 plan for more information.

More Autofixing

We are continuing to add autofixing to more rules, and this release we added autofixing to object-shorthand, padded-blocks, and no-multiple-empty-lines.

Enhancements

Bug Fixes

  • cf223dd Fix: add test for a syntax error (fixes #6013) (#6378) (Toru Nagashima)
  • 8ec89c8 Fix: --print-config return config inside subdir (fixes #6329) (#6385) (alberto)
  • 4f73240 Fix: object-curly-newline multiline with comments (fixes #6381) (#6396) (Toru Nagashima)
  • ed84c4c Fix: improve newline-per-chained-call message (fixes #6340) (#6360) (Toru Nagashima)
  • fb49c7f Fix: nested extends with relative path (fixes #6358) (#6359) (Toru Nagashima)
  • cfdd524 Fix: allow semi as braceless body of statements (fixes #6386) (#6391) (alberto)

Documentation

  • 852b6df Docs: Delete empty table of links from Code Path Analysis (#6423) (Mark Pedrotti)
  • c2b5277 Docs: Add gitter chat link to Reporting Bugs (#6430) (Mark Pedrotti)
  • 73a9a6d Docs: Fix links in Configuring ESLint (#6421) (Mark Pedrotti)
  • 9ea4e44 Docs: Update parser reference to espree instead of esprima (#6404) (alberto)
  • 7f57467 Docs: Make fix param clearer (fixes #6366) (#6367) (Nick Heiner)
  • 0e7ce72 Docs: Fix rest-spread-spacing’s name (#6365) (cody)
  • 6b08cfc Docs: key-spacing fixable documenation notes (fixes #6375) (#6376) (Ruurd Moelker)
  • 4b4be3b Docs: max-lines option: fix skipComments typo (#6374) (Jordan Harband)
  • 20ab4f6 Docs: Fix wrong link in object-curly-newline (#6373) (Grant Snodgrass)
  • 412ce8d Docs: Fix broken links in no-mixed-operators (#6372) (Grant Snodgrass)

Chores

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

Trunk becomes ESLint gold sponsor
1 min read

Trunk becomes ESLint gold sponsor

We are happy to announce that Trunk is a gold sponsor of ESLint. We are grateful to founders Eli Schleifer and David Apirian, as well as the whole Trunk team.

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.