eslint
10.15.0 · 13 Nov 2026MIT217.1M / weekRepositoryHomepagenpmAtom feed
2.13.1 is the newest release of 2.x.
In short
5 new9 fixed5 changed13 internal
Release note
Update: Add metadata to existing rules - Batch 3 (refs #5417) (Vitor Balocco)
Check that module.paths exists (fixes #5791) (Nicholas C. Zakas)
Update: allow template literals (fixes #5234) (Jonathan Haines)
Update: Add metadata to existing rules - Batch 2 (refs #5417) (Vitor Balocco)
newline-before-return handles return as first token (fixes #5816) (Kevin Partington)
Update: add nestedBinaryExpressions to no-extra-parens (fixes #3065) (Ilya Volodin)
Update:
allowNamedFunctionsinprefer-arrow-callback(fixes #5675) (alberto)Update: Add metadata to existing rules - Batch 1 (refs #5417) (Vitor Balocco)
no-fallthroughempty case with comment (fixes #5799) (alberto)LogicalExpression checks for short circuit (fixes #5693) (Vamshi krishna)
Document and fix metadata (refs #5417) (Ilya Volodin)
Update: Include 'typeof' in rule 'no-constant-condition' (fixes #5228) (Vamshi krishna)
Update: Change order in
eslint --initenv options (fixes #5742) (alberto)Extra paren check around object arrow bodies (fixes #5789) (Brandon Mills)
Catch self-assignment operators in
no-magic-number(fixes #4400) (alberto)Added property onlyDeclaration to id-match rule (fixes #3488) (Gajus Kuizinas)
Update: no-useless-escape / exact locations of errors (fixes #5751) (Onur Temizkan)
Ignore trailing whitespace in template literal (fixes #5786) (Kai Cataldo)
Update: add allowEmptyCatch option to no-empty (fixes #5800) (Kai Cataldo)
Update:
commentPatternoption forno-fallthroughrule (fixes #5757) (Artyom Lvov)Update: Add ignore option to space-before-function-parens (fixes #4127) (Craig Silverstein)
Improve
constructor-supererrors for literals (fixes #5449) (Toru Nagashima)
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.