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 v8.31.0 released

We just pushed ESLint v8.31.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-underscore-dangle rule gained two new options: allowInArrayDestructuring and allowInObjectDestructuring. Both of these default to true to allow dangling underscores in array and object destructuring for backwards compatibility. Set them to false to check for dangling underscores in destructuring assignments.

Features

Bug Fixes

Documentation

  • 4339dc4 docs: Update README (GitHub Actions Bot)
  • 4e4049c docs: optimize code block structure (#16669) (Sam Chen)
  • 54a7ade docs: do not escape code blocks of formatters examples (#16719) (Sam Chen)
  • e5ecfef docs: Add function call example for no-undefined (#16712) (Elliot Huffman)
  • a3262f0 docs: Add mastodon link (#16638) (Amaresh S M)
  • a14ccf9 docs: clarify files property (#16709) (Sam Chen)
  • 3b29eb1 docs: fix npm link (#16710) (Abdullah Osama)
  • a638673 docs: fix search bar focus on Esc (#16700) (Shanmughapriyan S)
  • f62b722 docs: country flag missing in windows (#16698) (Shanmughapriyan S)
  • 4d27ec6 docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)
  • 8bda20e docs: remove manually maintained anchors (#16685) (Percy Ma)
  • b68440f docs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)

Chores

  • 65d4e24 chore: Upgrade @eslint/eslintrc@1.4.1 (#16729) (Brandon Mills)
  • 8d93081 chore: fix CI failure (#16721) (Sam Chen)
  • 8f17247 chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)
  • 4cd87cb ci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])
  • fd20c75 chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)
  • 10a5c78 chore: update ignore patterns in eslint.config.js (#16678) (Milos Djermanovic)

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.

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.