@eslint/js
10.0.1 · 6 Feb 2026MIT148.4M / weekRepositoryHomepagenpmAtom feed
10.0.1 is the newest release of 10.x.
In short
22 breaking1 removed8 new16 fixed73 internal
- breaking
Estimate rule-tester failure location
- breaking
Replace
chalkwithstyleTextand addcolortoResultsMeta - breaking
Enable JSX reference tracking
- breaking
Add
nameto configs - breaking
Remove deprecated
SourceCodemethods - 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
chalkwithstyleTextand addcolortoResultsMeta - breaking
Enable JSX reference tracking
- breaking
Add
nameto configs - breaking
Remove deprecated
SourceCodemethods - 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: trueinno-invalid-regexpoption - 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 theradixrule - breaking
Tighten
func-namesschema - breaking
Report
eslint-envcomments as errors - breaking
Remove deprecated
LintMessage#nodeTypeandTestCaseError#type - breaking
Drop support for jiti < 2.2.0
- breaking
Update
eslint:recommendedconfiguration - breaking
Remove
v10_*and inactiveunstable_*flags - breaking
no-shadow-restricted-namesreportglobalThisby default - breaking
Require Node.js
^20.19.0 || ^22.13.0 || >=24
Features
Handle
Array.fromAsyncinarray-callback-returnAdd
selftono-implied-evalruleFix handling of function and class expression names in
no-shadowRule tester add assertion option
requireDataOutput RuleTester test case failure index
Add
countThisoption tomax-paramsAdd error assertion options
Update error loc of
require-yieldandno-useless-constructor
Bug Fixes
Update eslint
Detect default
thisbinding inArray.fromAsynccallbacksFix regression of global mode report range in
strictrule- removed
Remove fake
FlatESLintandLegacyESLintexports Update esquery
Update eslint
Handle space before colon in
RuleTesterlocation estimationUse
MessagePlaceholderDatatype from@eslint/coreUpdate eslint
Error location should not modify error message in RuleTester
Ensure
filenameis passed as third argument toverifyAndFix()Remove
ecmaVersionandsourceTypefromParserOptionstypeRemove
TDZscope typeCorrect
ScopetypingsUpdate
verifyandverifyAndFixtypesCorrect typings for
loadESLint()andshouldUseFlatConfig()Correct RuleTester typings
Strict removed formatters check
Correct
no-restricted-importmessages