Change8

Migrating to ESLint v10.0.0-alpha.1

Version v10.0.0-alpha.1 introduces 4 breaking changes. This guide details how to update your code.

Released: 11/28/2025

4
Breaking Changes
4
Migration Steps
5
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

SourceCodeRuleTesterrequire-yieldno-useless-constructorminimatch

Breaking Changes

Issue #1

Added 'name' property to configuration objects; ensure custom configs are updated if they conflict with this new property.

Issue #2

Removed deprecated SourceCode methods; replace usage with current SourceCode API equivalents.

Issue #3

Updated minimatch dependency to v10, which may include breaking changes in glob matching behavior.

Issue #4

Implemented stricter RuleTester assertions for valid test cases; existing tests that were technically invalid but previously passed may now fail.

Migration Steps

  1. 1
    Update code to remove calls to deprecated SourceCode methods.
  2. 2
    Review and update RuleTester suites to comply with stricter validation for valid test cases.
  3. 3
    Verify glob patterns in configuration due to the minimatch v10 upgrade.
  4. 4
    Optionally add 'name' properties to flat configuration objects for better identification.

Release Summary

This release introduces breaking changes including the removal of deprecated SourceCode methods, stricter RuleTester assertions, and a major update to the minimatch dependency, alongside improved error locations for specific rules.

Need More Details?

View the full release notes and all changes for ESLint v10.0.0-alpha.1.

View Full Changelog