eslint
10.15.0 · 13 Nov 2026MIT217.1M / weekRepositoryHomepagenpmAtom feed
7.32.0 is the newest release of 7.x.
In short
20 breaking2 removed1 deprecated9 new44 fixed34 changed64 internal
- Breaking
espree@7.0.0
- Breaking
RuleTester Improvements (refs eslint/rfcs#25)
- Breaking
Improve plugin resolving (refs eslint/rfcs#47)
- Breaking
Change relative paths with --config (refs eslint/rfcs#37)
- Breaking
Test with an unknown error property should fail in RuleTester
- Breaking
Class default
truecomputed-property-spacing (fixes #12812) - Breaking
Classes default
truein accessor-pairs (fixes #12811) - Breaking
Add new rules to eslint:recommended (fixes #12911)
Release note
Upgrade: eslint-release@2.0.0
Remove Node.js and CommonJS category from build process
- Breaking
espree@7.0.0
Sponsors: Sync README with website (ESLint Jenkins)
7.0.0-rc.0 (ESLint Jenkins)
Update: Improve report location for array-callback-return (refs #12334)
Yoda left string fix for exceptRange (fixes #12883)
Update: report backtick loc in no-unexpected-multiline (refs #12334)
func-call-spacing "never" reports wrong message (fixes #13190)
Update: Add ESLint API (refs eslint/rfcs#40)
Upgrade: Some (dev) deps
- Removed
Remove default .js from --ext CLI option
Update: Improve report location for getter-return (refs #12334)
Sponsors: Sync README with website (ESLint Jenkins)
Sponsors: Sync README with website (ESLint Jenkins)
Sponsors: Sync README with website (ESLint Jenkins)
Sponsors: Sync README with website (ESLint Jenkins)
Sponsors: Sync README with website (ESLint Jenkins)
newBasePath should be an absolute path (fixes #12850)
- Deprecated
Update: deprecate Node.js & CommonJS rules
Upgrade: levn@0.4.1 (fixes #9366)
no-extra-parens export default sequence expression false positive
Update: Improve report location for new-cap (refs #12334)
Init error in extending recommended config (fixes #12707)
Update: Improve report location newline-per-chained-call (refs #12334)
Update: Improve report location for space-before-function-paren
Sponsors: Sync README with website (ESLint Jenkins)
Update: Improve error message for fatal fixer errors
No check for shadowed Object (fixes #12809)
Add end location to report in no-useless-concat (refs #12334)
Sponsors: Sync README with website (ESLint Jenkins)
Sponsors: Sync README with website (ESLint Jenkins)
Update: Improve report location for comma-style (refs #12334)
Update: no-inner-declarations false negative in non-block (fixes #12222)
Update: Improve report location for no-empty-function (refs #12334)
7.0.0-alpha.3 (ESLint Jenkins)
- Breaking
RuleTester Improvements (refs eslint/rfcs#25)
Update: stricter array index check in no-magic-numbers (fixes #12845)
Update: Improve report location for template-curly-spacing
Change error message logic for implicit file ignore (fixes #12873)
require-await ignore async generators (fixes #12459)
getNameLocationInGlobalDirectiveComment end location (refs #12334)
Add end location to report in no-extra-bind (refs #12334)
Update: report operator location in operator-linebreak (refs #12334)
Update: support globalThis in no-implied-eval (fixes #12670)
- Breaking
Improve plugin resolving (refs eslint/rfcs#47)
Check assignment property target in camelcase (fixes #13025)
Add end location to report in no-prototype-builtins (refs #12334)
Incorrect logic for required parens in no-extra-boolean-cast fixer
Update: Report constructor calls in no-obj-calls
Upgrade: esquery@1.2.0
Allow references to external globals in id-blacklist (fixes #12567)
- Removed
Remove type arguments in prefer-object-spread (fixes #13058)
- Breaking
Change relative paths with --config (refs eslint/rfcs#37)
Update: consider env in no-implied-eval (fixes #12733)
Check template literal in prefer-numeric-literals (fixes #13045)
Added async in allow method in no-empty-function (fixes #12768)
Sponsors: Sync README with website (ESLint Jenkins)
Update: Allow testing Suggestions with data in RuleTester (fixes #12606)
no-plusplus allow comma operands in for afterthought (fixes #13005)
Newline before eof when creating config via --init
Update: support globalThis (refs #12670)
Sponsors: Sync README with website (ESLint Jenkins)
Upgrade: espree@6.2.1
Sponsors: Sync README with website (ESLint Jenkins)
Camelcase false positive with computed property (fixes #13022)
Update: acorn version
Check division operator in astUtils.canTokensBeAdjacent
Sponsors: Sync README with website (ESLint Jenkins)
Sponsors: Sync README with website (ESLint Jenkins)
7.0.0-alpha.2 (ESLint Jenkins)
Update: no-restricted-modules handle TemplateLiteral (fixes #12926)
Update: check identifier in array pattern in id-length (fixes #12832)
- Breaking
Test with an unknown error property should fail in RuleTester
Update: func-names
as-neededfalse negative with AssignmentPatternCurly removes necessary braces between if and else (fixes #12928)
arrow-body-style crash with object literal body (fixes #12884)
- Breaking
Class default
truecomputed-property-spacing (fixes #12812) wrap-iife autofix removes mandatory parentheses
Optionally allow underscores in member names
- Breaking
Classes default
truein accessor-pairs (fixes #12811) Add end location to report in no-eval
- Breaking
Add new rules to eslint:recommended (fixes #12911)
Sponsors: Sync README with website (ESLint Jenkins)
Update: report rename id destructuring in id-blacklist (fixes #12807)
- Breaking
Check unnamed default export in func-names (fixes #12194)
Update: check renaming identifier in object destructuring (fixes 12827)
Update: enforceForLogicalOperands no-extra-boolean-cast (fixes #12137)
7.0.0-alpha.1 (ESLint Jenkins)
Add missing plugin reference
Fix inconsistently works option in no-extra-parens (fixes #12717)
Make YieldExpression throwable (fixes #12880)
- Breaking
use-isnan enforceForSwitchCase default
true(fixes #12810) - Breaking
Change default ignore pattern (refs eslint/rfcs#51)
- Breaking
no-dupe-class-members checks some computed keys (fixes #12808)
Update: check template literal in yoda (fixes #12863)
Sponsors: Sync README with website (ESLint Jenkins)
id-blacklist false positives on renamed imports
Update: array-callback-return checks Array.forEach (fixes #12551)
Sponsors: Sync README with website (ESLint Jenkins)
Sponsors: Sync README with website (ESLint Jenkins)
Sponsors: Sync README with website (ESLint Jenkins)
operator-assignment crash on adjacent division assignment
Sponsors: Sync README with website (ESLint Jenkins)
Radix rule crash on disabled globals
Update: check template literal in no-proto, no-iterator (fixes #12801)
Update: fix no-magic-numbers false negative with ignoreArrayIndexes
multiline-comment-style rule add extra space after * (fixes #12785)
Update: check template literal in no-constant-condition (fixes #12815)
no-constant-condition doesn't introspect arrays (fixes #12225)
Sponsors: Sync README with website (ESLint Jenkins)
- Breaking
Make
radixrule stricter 7.0.0-alpha.0 (ESLint Jenkins)
- Breaking
Lint
overridesfiles (fixes #10828, refs eslint/rfcs#20) Update: Separate pattern/expression options for array-element-newline
Update: treat comment tokens in template-curly-spacing (fixes #12744)
- Breaking
Check assignment targets in no-extra-parens
Wrong indent at tagged template in indent (fixes #12122)
- Breaking
Check flatMap in array-callback-return (fixes #12235)
- Breaking
Description in directive comments (refs eslint/rfcs#33)
- Breaking
Some rules recognize bigint literals (fixes #11803)
prefer-object-spread false positives with accessors (fixes #12086)
New: Add default-case-last rule (fixes #12665)
Update: fix no-restricted-imports export * false negative (fixes #12737)
Improve report location for computed-property-spacing
id-blacklist should ignore ObjectPatterns (fixes #12787)
Display pipe character correctly in test output
Update: fix no-restricted-imports importNames reporting (fixes #12282)
Update: report double extra parens in no-extra-parens (fixes #12127)
Sponsors: Sync README with website (ESLint Jenkins)
New: Add no-useless-backreference rule (fixes #12673)
Update: fix no-extra-parens CallExpression#callee false negatives
Update: fix counting jsx comment len in max-len (fixes #12213)
Upgrade: Several dependencies
- Breaking
runtime-deprecation on '~/.eslintrc' (refs eslint/rfcs#32)
- Breaking
Drop Node.js 8 support (refs eslint/rfcs#44)
Update: add outerIIFEBody: "off" to indent rule (fixes #11377)
Update: Handle locally unsupported regex in computed property keys
Windows path parsing for JUnit (fixes #12507)
New: Add no-restricted-exports rule (fixes #10428)
no-mixed-spaces-and-tabs reports multiline strings
Update: no-void add an option to allow void as a statement
Update: Add offsetTernaryExpressions option for indent rule
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.