Packages

@eslint/js

10.0.1 · 6 Feb 2026MIT148.4M / weekRepositoryHomepagenpmAtom feed

Your version

10.0.0

major26 Jul 2024Where it was published

10.0.1 is the newest release of 10.x.

npm marks 10.0.0 as deprecated: This version should not be used.

In short

22 breaking1 removed8 new16 fixed73 internal

  • breaking

    Estimate rule-tester failure location

  • breaking

    Replace chalk with styleText and add color to ResultsMeta

  • breaking

    Enable JSX reference tracking

  • breaking

    Add name to configs

  • breaking

    Remove deprecated SourceCode methods

  • breaking

    Update dependency minimatch to v10

  • breaking

    Stricter rule tester assertions for valid test cases

  • breaking

    Remove deprecated rule context methods

Release note

Breaking Changes

  • breaking

    Estimate rule-tester failure location

  • breaking

    Replace chalk with styleText and add color to ResultsMeta

  • breaking

    Enable JSX reference tracking

  • breaking

    Add name to configs

  • breaking

    Remove deprecated SourceCode methods

  • breaking

    Update dependency minimatch to v10

  • breaking

    Stricter rule tester assertions for valid test cases

  • breaking

    Remove deprecated rule context methods

  • breaking

    Remove eslintrc support

  • breaking

    Use ScopeManager#addGlobals()

  • breaking

    Add uniqueItems: true in no-invalid-regexp option

  • breaking

    Program range span entire source text

  • breaking

    Assert 'text' is a string across all RuleFixer methods

  • breaking

    Deprecate "always" and "as-needed" options of the radix rule

  • breaking

    Tighten func-names schema

  • breaking

    Report eslint-env comments as errors

  • breaking

    Remove deprecated LintMessage#nodeType and TestCaseError#type

  • breaking

    Drop support for jiti < 2.2.0

  • breaking

    Update eslint:recommended configuration

  • breaking

    Remove v10_* and inactive unstable_* flags

  • breaking

    no-shadow-restricted-names report globalThis by default

  • breaking

    Require Node.js ^20.19.0 || ^22.13.0 || >=24

Features

  • Handle Array.fromAsync in array-callback-return

  • Add self to no-implied-eval rule

  • Fix handling of function and class expression names in no-shadow

  • Rule tester add assertion option requireData

  • Output RuleTester test case failure index

  • Add countThis option to max-params

  • Add error assertion options

  • Update error loc of require-yield and no-useless-constructor

Bug Fixes

  • Update eslint

  • Detect default this binding in Array.fromAsync callbacks

  • Fix regression of global mode report range in strict rule

  • removed

    Remove fake FlatESLint and LegacyESLint exports

  • Update esquery

  • Update eslint

  • Handle space before colon in RuleTester location estimation

  • Use MessagePlaceholderData type from @eslint/core

  • Update eslint

  • Error location should not modify error message in RuleTester

  • Ensure filename is passed as third argument to verifyAndFix()

  • Remove ecmaVersion and sourceType from ParserOptions type

  • Remove TDZ scope type

  • Correct Scope typings

  • Update verify and verifyAndFix types

  • Correct typings for loadESLint() and shouldUseFlatConfig()

  • Correct RuleTester typings

  • Strict removed formatters check

  • Correct no-restricted-import messages