ESLint v10.1.0 released

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

API Support for Bulk Suppressions

ESLint v10.1.0 introduces API support for the bulk suppressions feature that was previously only available in the CLI.

ESLint API consumers, such as IDEs, can now pass the applySuppressions: true option to the ESLint constructor. With this option, suppressions from the suppressions file are automatically applied to results from ESLint#lintFiles() and ESLint#lintText() methods.

const eslint = new ESLint({
 applySuppressions: true,

    // optional, defaults to `eslint-suppressions.json`
 suppressionsLocation: "./config/my-suppressions.json",
});

Please see the Bulk Suppressions - Usage with the Node.js API section for more details.

Features

Bug Fixes

Documentation

  • b7b57fe docs: use correct JSDoc link in require-jsdoc (#20641) (mkemna-clb)
  • 58e4cfc docs: add deprecation notice partial (#20639) (Milos Djermanovic)
  • 7143dbf docs: update v9 migration guide for @eslint/js usage (#20540) (fnx)
  • 035fc4f docs: note that globalReturn applies only with sourceType: "script" (#20630) (Milos Djermanovic)
  • e972c88 docs: merge ESLint option descriptions into type definitions (#20608) (Francesco Trotta)
  • 7f10d84 docs: Update README (GitHub Actions Bot)
  • aeed007 docs: open playground link in new tab (#20602) (Tanuj Kanti)
  • a0d1a37 docs: Add AI Usage Policy (#20510) (Nicholas C. Zakas)

Chores

  • a9f9cce chore: update dependency eslint-plugin-unicorn to ^63.0.0 (#20584) (Milos Djermanovic)
  • 1f42bd7 chore: update prettier to 3.8.1 (#20651) (루밀LuMir)
  • c0a6f4a chore: update dependency @eslint/json to ^1.2.0 (#20652) (renovate[bot])
  • cc43f79 chore: update dependency c8 to v11 (#20650) (renovate[bot])
  • 2ce4635 chore: update dependency @eslint/json to v1 (#20649) (renovate[bot])
  • f0406ee chore: update dependency markdownlint-cli2 to ^0.21.0 (#20646) (renovate[bot])
  • dbb4c95 chore: remove trunk (#20478) (sethamus)
  • c672a2a test: fix CLI test for empty output file (#20640) (kuldeep kumar)
  • c7ada24 ci: bump pnpm/action-setup from 4.3.0 to 4.4.0 (#20636) (dependabot[bot])
  • 07c4b8b test: fix RuleTester test without test runners (#20631) (Francesco Trotta)
  • 079bba7 test: Add tests for isValidWithUnicodeFlag (#20601) (Manish chaudhary)
  • 5885ae6 ci: unpin Node.js 25.x in CI (#20615) (Copilot)
  • f65e5d3 chore: update pnpm/action-setup digest to b906aff (#20610) (renovate[bot])

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

ESLint v9.39.4 released
1 min read

ESLint v9.39.4 released

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

ESLint v10.0.3 released
1 min read

ESLint v10.0.3 released

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

ESLint v10.0.2 released
1 min read

ESLint v10.0.2 released

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