Skip to main content

ESLint 10.7.0

Release Date: July 10, 2026

ESLint 10.7.0 has been released — arriving just days after the previous release, this update packs several new features, important bug fixes, and quality-of-life improvements for JavaScript and TypeScript developers.

What's New in ESLint 10.7.0

This release introduces four notable features that expand ESLint's linting capabilities:

  • New errorClassNames option for the preserve-caught-error rule — allows developers to specify which error class names should trigger the rule, giving teams more control over caught-error handling patterns.
  • Constructor callback support in max-nested-callbacks — the rule now accounts for constructor function callbacks, preventing false negatives in class-heavy codebases.
  • Computed Number.parseInt detection in the radix rule — the rule now correctly flags computed member access patterns, closing a long-standing gap in radix parameter enforcement.
  • Suggestions for no-compare-neg-zero — instead of just flagging the issue, ESLint now offers auto-fix suggestions to replace -0 comparisons with Object.is() equivalents.
  • Invalid radix values reporting — the radix rule now reports invalid signed numeric radix values, catching edge cases that previously slipped through.

Bug Fixes

Version 10.7.0 squashes 10 bugs across the codebase. Key fixes include:

  • Class expression handling — the ignoreClassesWithImplements option in the no-unused-vars rule now correctly applies to class expressions, not just declarations.
  • Cause insertion — the preserve-caught-error fix now correctly inserts the cause parameter outside wrapping parentheses, resolving a formatting edge case.
  • Static template literals — the eqeqeq rule now handles static template literal comparisons correctly, eliminating false positives.
  • Shadowed global fixesno-invalid-regexp, no-control-regex, and prefer-numeric-literals all received fixes for false positives triggered by shadowed global variables like RegExp, Number, and NaN.
  • Sequence expression parenthesizationno-implicit-coercion now correctly parenthesizes sequence expression operands.

Chores and Infrastructure

Behind the scenes, ESLint 10.7.0 updates several dependencies including @eslint/eslintrc to v3.3.6 and Prettier to v3.9.4. CI now includes Node.js 26 in the test matrix. The team also added ecosystem plugin testing on pull requests to catch integration issues earlier.

ESLint 10.7.0 is available now. Update with npm install eslint@latest or your preferred package manager.

What is New?

By continuing to use the site, you agree to the use of cookies.