@typescript-eslint/eslint-plugin
8.72.1 · 26 Oct 2026MIT172.4M / weekRepositoryHomepagenpmAtom feed
7.18.0 is the newest release of 7.x.
In short
7 new11 fixed
Release note
Note that this release enables rules to have more restrictive default options as configured in the strict and strict-type-checked configs. See #8364 for more details.
Features
eslint-plugin: [restrict-template-expressions] add
allowArrayoptioneslint-plugin: add meta.docs.recommended setting for strict config options
eslint-plugin: add rule
use-unknown-in-catch-callback-variableseslint-plugin: [prefer-reduce-type-parameter] supports tuple, union, intersection
eslint-plugin-internal: add internal lint rule no-relative-paths-to-internal-packages
typescript-estree: disallow switch statements with multiple default cases
utils: add parser name to thrown parser error message
Fixes
Correct
engines.nodeconstraints inpackage.jsoneslint-plugin: [unbound-method] check method definition in object literal using longhand form
eslint-plugin: [consistent-type-imports] handle imports without specifiers
eslint-plugin: [no-redundant-type-constituents] incorrectly marks & string as redundant
eslint-plugin: [no-unnecessary-qualifier] handle merge namespace with enum
eslint-plugin: [no-unused-expressions] false negatives when using assertions
eslint-plugin: [ban-ts-comment] more accurate handling of multiline comments
eslint-plugin: [explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option
eslint-plugin: [class-literal-property-style] ignore property assigned in constructor
eslint-plugin: [no-unnecessary-type-assertion] fix false negative for const variable declarations
typescript-estree: fix the issue of single run inferring in the pnpm repo (#3811, #8702)