eslint
10.15.0 · 13 Nov 2026MIT217.1M / weekRepositoryHomepagenpmAtom feed
9.39.5 is the newest release of 9.x.
In short
38 breaking21 new14 fixed131 internal
- Breaking
Correct
camelcaserule schema forallowoption - Breaking
Move AST traversal into SourceCode
- Breaking
Disallow multiple configuration comments for same rule
- Breaking
Rule Tester checks for missing placeholder data in the message
- Breaking
Default for
enforceForClassMembersinno-useless-computed-key - Breaking
Stricter rule test validations
- Breaking
no-unused-varsdefault caughtErrors to 'all' (#18043) (Josh Goldberg ✨) - Breaking
no-restricted-imports allow multiple config entries for same path
Release note
Breaking Changes
- Breaking
Correct
camelcaserule schema forallowoption - Breaking
Move AST traversal into SourceCode
- Breaking
Disallow multiple configuration comments for same rule
- Breaking
Rule Tester checks for missing placeholder data in the message
- Breaking
Default for
enforceForClassMembersinno-useless-computed-key - Breaking
Stricter rule test validations
- Breaking
no-unused-varsdefault caughtErrors to 'all' (#18043) (Josh Goldberg ✨) - Breaking
no-restricted-imports allow multiple config entries for same path
- Breaking
Detect duplicate test cases
- Breaking
no-inner-declaration new default behaviour and option
- Breaking
Handle
--output-filefor empty output when saving to disk - Breaking
Upgrade eslint-scope@8.0.0
- Breaking
no-unused-vars
varsIgnorePatternbehavior with catch arguments - Breaking
Configuration comments with just severity should retain options
- Breaking
Remove CodePath#currentSegments
- Breaking
FlatRuleTester -> RuleTester
- Breaking
Remove
no-inner-declarationsfromeslint:recommended - Breaking
cadfbcdfeat!: Rename FlatESLint to ESLint - Breaking
Skip running warnings in --quiet mode
- Breaking
Set default
schema:, drop support for function-style rules - Breaking
Add two more cases to
no-implicit-coercion - Breaking
Switch Linter to flat config by default
- Breaking
Parsing 'exported' comment using parseListConfig
- Breaking
Remove valid-jsdoc and require-jsdoc
- Breaking
Behavior of CLI when no arguments are passed
- Breaking
Update shouldUseFlatConfig and CLI so flat config is default
- Breaking
Deprecate no-new-symbol, recommend no-new-native-nonconstructor
- Breaking
Check for parsing errors in suggestion fixes
- Breaking
Assert suggestion messages are unique in rule testers (#17532) (Josh Goldberg ✨)
- Breaking
no-invalid-regexpmake allowConstructorFlags case-sensitive (#17533) (Josh Goldberg ✨) - Breaking
no-sequences rule schema correction
- Breaking
Update
eslint:recommendedconfiguration - Breaking
Drop support for string configurations in flat config array
- Breaking
Remove
SourceCode#getComments() - Breaking
Remove deprecated context methods
- Breaking
Swap FlatESLint-ESLint, FlatRuleTester-RuleTester in API
- Breaking
Remove formatters except html, json(-with-metadata), and stylish (#17531) (Josh Goldberg ✨)
- Breaking
Require Node.js
^18.18.0 || ^20.9.0 || >=21.1.0
Features
Add --inspect-config CLI flag
Add
reportUsedIgnorePatternoption tono-unused-varsruleShow config names in error messages
Rule Performance Statistics for flat ESLint
use-isnan report NaN in
indexOfandlastIndexOfwith fromIndexAdd
reportUnusedFallthroughCommentoption to no-fallthrough ruleAdd
ignoreClassWithStaticInitBlockoption tono-unused-varsMake
no-misleading-character-classreport more granular errorsUpdate complexity rule for optional chaining & default values
no-restricted-importsoption addedallowImportNamesAdd suggestions to
use-isnaninindexOf&lastIndexOfcallsAdd loadESLint() API method for v9
Add suggestions to
use-isnanin binary expressionsFix false negatives in
no-this-before-superConvert unsafe autofixes to suggestions in
no-implicit-coercionEmit warning when
.eslintignorefile is detectedMaintain latest ecma version in ESLint
Add
no-useless-assignmentruleno-misleading-character-classgranular errors (#17515) (Josh Goldberg ✨)Enable eslint.config.mjs and eslint.config.cjs
Warn by default for unused disable directives
Bug Fixes
Support
usingdeclarations in no-lone-blocksRule tester ignore irrelevant test case properties
Flat config name on ignores object
constructor-superfalse positives with loopsLoad plugins in the CLI in flat config mode
Improve error message for invalid rule config
Stop linting files after an error
Validate options when comment with just severity enables rule
use-isnandoesn't report onSequenceExpressionsHandle absolute file paths in
RuleTesterEnsure config keys are printed for config errors
no-misleading-character-classedge cases with granular errorsDeep merge behavior in flat config
Allow circular references in config
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.