
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
ff4382bfeat: apply fix forno-varinTSModuleBlock(#20638) (Tanuj Kanti)0916995feat: Implement api support for bulk-suppressions (#20565) (Blake Sager)
Bug Fixes
2b8824efix: Preventno-varautofix when a variable is used before declaration (#20464) (Amaresh S M)e58b4bffix: update eslint (#20597) (renovate[bot])
Documentation
b7b57fedocs: use correct JSDoc link inrequire-jsdoc(#20641) (mkemna-clb)58e4cfcdocs: add deprecation notice partial (#20639) (Milos Djermanovic)7143dbfdocs: update v9 migration guide for@eslint/jsusage (#20540) (fnx)035fc4fdocs: note thatglobalReturnapplies only withsourceType: "script"(#20630) (Milos Djermanovic)e972c88docs: merge ESLint option descriptions into type definitions (#20608) (Francesco Trotta)7f10d84docs: Update README (GitHub Actions Bot)aeed007docs: open playground link in new tab (#20602) (Tanuj Kanti)a0d1a37docs: Add AI Usage Policy (#20510) (Nicholas C. Zakas)
Chores
a9f9ccechore: update dependency eslint-plugin-unicorn to ^63.0.0 (#20584) (Milos Djermanovic)1f42bd7chore: updateprettierto 3.8.1 (#20651) (루밀LuMir)c0a6f4achore: update dependency @eslint/json to ^1.2.0 (#20652) (renovate[bot])cc43f79chore: update dependency c8 to v11 (#20650) (renovate[bot])2ce4635chore: update dependency @eslint/json to v1 (#20649) (renovate[bot])f0406eechore: update dependency markdownlint-cli2 to ^0.21.0 (#20646) (renovate[bot])dbb4c95chore: remove trunk (#20478) (sethamus)c672a2atest: fix CLI test for empty output file (#20640) (kuldeep kumar)c7ada24ci: bump pnpm/action-setup from 4.3.0 to 4.4.0 (#20636) (dependabot[bot])07c4b8btest: fixRuleTestertest without test runners (#20631) (Francesco Trotta)079bba7test: Add tests forisValidWithUnicodeFlag(#20601) (Manish chaudhary)5885ae6ci: unpin Node.js 25.x in CI (#20615) (Copilot)f65e5d3chore: update pnpm/action-setup digest to b906aff (#20610) (renovate[bot])