ESLint v10.1.0 Update: Bulk Suppressions & TS Improvements
TL;DR
- New API for bulk suppression of linting issues.
no-varrule now correctly applies fixes withinTSModuleBlock.- Improved
no-varautofix prevents incorrect changes when variables are used before declaration.
Key Changes ESLint v10.1.0, a minor update released on 2026-03-20, focuses on enhancing developer experience and code consistency. For more details, refer to the official ESLint website.
Features: The most notable addition is the new API support for bulk-suppressions (0916995). This allows developers to manage and suppress multiple linting issues more efficiently, particularly useful in large projects or when integrating new rules. Furthermore, the no-var rule now correctly applies fixes within TSModuleBlock contexts (ff4382b), improving code quality and consistency for TypeScript users.
Bug Fixes: A critical fix prevents the no-var autofix from making incorrect changes when a variable is used before its declaration (2b8824e), ensuring safer and more reliable code transformations. This prevents potential runtime errors that could arise from aggressive autofixing. Other minor updates and dependency bumps contribute to overall stability and performance.
Documentation: Significant documentation updates include a deprecation notice partial, revisions to the v9 migration guide for @eslint/js usage, and the addition of an AI Usage Policy, providing clearer guidelines and support.
Impact for QA Teams
This update streamlines code quality efforts. The new bulk suppression API can help development teams manage technical debt more effectively, reducing the volume of linting warnings and allowing QA to focus on more critical issues. Safer autofixes for rules like no-var reduce the risk of introducing regressions during code refactoring, leading to more stable builds and allowing QA to concentrate on functional testing rather than linting-related defects.
FAQ
- Q: What is the main new feature in ESLint v10.1.0?
- A: The primary new feature is API support for bulk-suppressions, enabling more efficient management of multiple linting issues.
- Q: Is this a mandatory update for all projects?
- A: As a minor release, it’s generally recommended for its improvements and bug fixes, especially if you use TypeScript or deal with many linting suppressions.
- Q: Will this update break my existing ESLint configuration?
- A: Minor releases are typically backward-compatible. New features are opt-in, and bug fixes should improve existing behavior without breaking changes.
