ESLint Blog
フィード

ESLint v10.1.0 released
ESLint Blog
HighlightsAPI Support for Bulk SuppressionsESLint 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",});123456Copy code to clipboard Please see the Bulk Suppressions - Usage with the Node.js API section for more details.Featuresff4382b feat: apply fix for no-var in TSModuleBlock (#20638) (Tanuj Kanti)0916995 feat: Implement api support for bulk-suppressions (#20565) (Blake Sager)Bug Fixes2b8824e fix: Prevent no-var autofix when a variable is used before declaration (#20464) (Amaresh S M)e58b4bf fix: update eslint (#
2日前

ESLint v9.39.4 released
ESLint Blog
HighlightsThis release sets the minimatch dependency version used in ESLint to ^3.1.5. This change avoids a bug in a previous minimatch release that could cause ESLint to not recognize certain files. A transitive dependency on minimatch was also updated to ^3.1.5 to include a fix for a recently published security issue.Bug Fixesf18f6c8 fix: update dependency minimatch to ^3.1.5 (#20564) (Milos Djermanovic)a3c868f fix: update dependency @eslint/eslintrc to ^3.3.4 (#20554) (Milos Djermanovic)234d005 fix: minimatch security vulnerability patch for v9.x (#20549) (Andrej Beles)b1b37ee fix: update ajv to 6.14.0 to address security vulnerabilities (#20538) (루밀LuMir)Documentation4675152 docs: add deprecation notice partial (#20520) (Milos Djermanovic)Choresb8b4eb1 chore: update dependencies for ESLint v9.39.4 (#20596) (Francesco Trotta)71b2f6b chore: package.json update for @eslint/js release (Jenkins)1d16c2f ci: pin Node.js 25.6.1 (#20563) (Milos Djermanovic)
16日前

ESLint v10.0.3 released
ESLint Blog
HighlightsThis release sets the minimatch dependency version used in ESLint to ^10.2.4. This change avoids a bug in a previous minimatch release that could cause ESLint to not recognize certain files.Bug Fixese511b58 fix: update eslint (#20595) (renovate[bot])f4c9cf9 fix: include variable name in no-useless-assignment message (#20581) (sethamus)ee9ff31 fix: update dependency minimatch to ^10.2.4 (#20562) (Milos Djermanovic)Documentation9fc31b0 docs: Update README (GitHub Actions Bot)4efaa36 docs: add info box for eslint-plugin-eslint-comments (#20570) (DesselBane)23b2759 docs: add v10 migration guide link to Use docs index (#20577) (Pixel998)80259a9 docs: Remove deprecated eslintrc documentation files (#20472) (Copilot)9b9b4ba docs: fix typo in no-await-in-loop documentation (#20575) (Pixel998)e7d72a7 docs: document TypeScript 5.3 minimum supported version (#20547) (sethamus)Choresef8fb92 chore: package.json update for eslint-config-eslint release (Jenkins)e8f2104 chore: updates for v9
16日前

ESLint v10.0.2 released
ESLint Blog
HighlightsThis release updates the ajv dependency to v6.14.0 which includes the fix for a recently published security issue.Bug Fixes2b72361 fix: update ajv to 6.14.0 to address security vulnerabilities (#20537) (루밀LuMir)Documentation13eeedb docs: link rule type explanation to CLI option --fix-type (#20548) (Mike McCready)98cbf6b docs: update migration guide per Program range change (#20534) (Huáng Jùnliàng)61a2405 docs: add missing semicolon in vars-on-top rule example (#20533) (Abilash)Chores951223b chore: update dependency @eslint/eslintrc to ^3.3.4 (#20553) (renovate[bot])6aa1afe chore: update dependency eslint-plugin-jsdoc to ^62.7.0 (#20536) (Milos Djermanovic)
1ヶ月前
ESLint v9.39.3 released
ESLint Blog
HighlightsThis version restores TypeScript 4.0 compatibility in types.Bug Fixes791bf8d fix: restore TypeScript 4.0 compatibility in types (#20504) (sethamus)Chores8594a43 chore: upgrade @eslint/[email protected] (#20529) (Milos Djermanovic)9ceef92 chore: package.json update for @eslint/js release (Jenkins)af498c6 chore: ignore /docs/v9.x in link checker (#20453) (Milos Djermanovic)
1ヶ月前

ESLint v10.0.1 released
ESLint Blog
HighlightsThis release updates the minimatch dependency to v10.2.1 which includes the fix for a recently published security issue.Bug Fixesc87d5bd fix: update eslint (#20531) (renovate[bot])d841001 fix: update minimatch to 10.2.1 to address security vulnerabilities (#20519) (루밀LuMir)04c2147 fix: update error message for unused suppressions (#20496) (fnx)38b089c fix: update dependency @eslint/config-array to ^0.23.1 (#20484) (renovate[bot])Documentation5b3dbce docs: add AI acknowledgement section to templates (#20431) (루밀LuMir)6f23076 docs: toggle nav in no-JS mode (#20476) (Tanuj Kanti)b69cfb3 docs: Update README (GitHub Actions Bot)Chorese5c281f chore: updates for v9.39.3 release (Jenkins)8c3832a chore: update @typescript-eslint/parser to ^8.56.0 (#20514) (Milos Djermanovic)8330d23 test: add tests for config-api (#20493) (Milos Djermanovic)37d6e91 chore: remove eslint v10 prereleases from eslint-config-eslint deps (#20494) (Milos Djermanovic)da7cd0e refactor: cleanup error message tem
1ヶ月前

ESLint v10.0.0 released
ESLint Blog
HighlightsESLint v10.0.0 is a major release that includes several new features and breaking changes. Here are some of the most notable updates.InstallingBecause this is a major release, you may not automatically be upgraded by npm. To ensure you are using this version, run:npm i [email protected] --save-dev1Copy code to clipboard Node.js < v20.19.0, v21.x, v23.x no longer supportedAs of this post, Node.js v24.x is the LTS release, and as such we are dropping support for all versions of Node.js prior to v20.19.0 as well as v21.x and v23.x.Migration GuideAs there are a lot of changes, we’ve created a migration guide describing the breaking changes in great detail along with the steps you should take to address them. We expect that most users should be able to upgrade without any build changes, but the migration guide should be a useful resource if you encounter problems.New configuration file lookup algorithmESLint v10.0.0 locates eslint.config.* by starting from the directory of each linted
1ヶ月前

ESLint v10.0.0-rc.2 released
ESLint Blog
HighlightsThis version of ESLint is not ready for production use and is provided to gather feedback from the community before releasing the final version. Please let us know if you have any problems or feedback by creating issues on our GitHub repo.Note that this prerelease version of ESLint has a separate documentation section.Notable bug fixesA regression in the core strict rule has been fixed.LegacyESLint and FlatESLint exports are now completely removed from the /use-at-your-own-risk entrypoint. In previous prerelease versions of ESLint v10, they were exported as null.InstallingSince this is a pre-release version, you will not automatically be upgraded by npm. You must specify the next tag when installing:npm i eslint@next --save-dev1Copy code to clipboard You can also specify the version directly:npm i [email protected] --save-dev1Copy code to clipboard Migration GuideAs there are a lot of changes, we’ve created a migration guide describing the breaking changes in great detail al
2ヶ月前

ESLint v10.0.0-rc.1 released
ESLint Blog
HighlightsThis version of ESLint is not ready for production use and is provided to gather feedback from the community before releasing the final version. Please let us know if you have any problems or feedback by creating issues on our GitHub repo.Note that this prerelease version of ESLint has a separate documentation section.Espree and ESLint Scope now include typesBeginning with Espree v11.1.0 and ESLint Scope v9.1.0, these packages now contain built-in type definitions.Previously, type definitions were provided by Definitely Typed packages @types/espree and @types/eslint-scope. There are several differences between the old and new type definitions, mostly bug fixes. If your code relies on types for the Espree and ESLint Scope packages, check if there are any updates needed.InstallingSince this is a pre-release version, you will not automatically be upgraded by npm. You must specify the next tag when installing:npm i eslint@next --save-dev1Copy code to clipboard You can also specif
2ヶ月前

ESLint's 2025 year in review
ESLint Blog
The plan for 2025 was to build upon the foundation of language plugins introduced in 2024 and to start the long-awaited core rewrite. We spent the year expanding our official language support to include CSS and HTML, introducing significant performance improvements through multithreaded linting, and preparing for the next major version, ESLint v10.0.0.Expanding language support: CSS and HTMLFollowing the release of JSON and Markdown support in 2024, we continued our mission to make ESLint a truly language-agnostic linter. In February, we released official CSS support via the @eslint/css plugin, allowing users to lint their stylesheets with the same familiar configuration system.In May, we were excited to announce that html-eslint had joined the ESLint ecosystem as a language plugin, bringing robust HTML linting to the project. These additions mean that ESLint can now officially be used to lint the “big three” of the web: JavaScript, CSS, and HTML.ESLint’s new CSS and HTML support were
2ヶ月前