@typescript-eslint/scope-manager
8.73.0 · 16 Nov 2026MIT226.2M / weekRepositoryHomepagenpmAtom feed
347 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 5.x
5.21.0
25 Apr 2022eslint-plugin: [no-misused-promises] prioritize false returns when checking whether a function returns only void
eslint-plugin: [no-namespace] fix false positive for exported namespaces when allowDeclarations=true
eslint-plugin: [space-infix-ops] fix no error when right type is function
Bug Fixes
eslint-plugin: [no-misused-promises] prioritize false returns when checking whether a function returns only void
eslint-plugin: [no-namespace] fix false positive for exported namespaces when allowDeclarations=true
eslint-plugin: [space-infix-ops] fix no error when right type is function
Features
eslint-plugin: [parameter-properties] add rule to replace
no-parameter-properties
5.20.0
18 Apr 2022eslint-plugin: [no-magic-numbers] ignoreTypeIndexes option
5.18.0
4 Apr 2022eslint-plugin: method-signature-style respect getter signature
visitor-keys: add missing visitor keys
eslint-plugin: [no-shadow] ignoreOnInitialization option
Bug Fixes
eslint-plugin: method-signature-style respect getter signature
visitor-keys: add missing visitor keys
Features
eslint-plugin: [no-shadow] ignoreOnInitialization option
eslint-plugin: [no-this-alias] report on assignment expressions
5.17.0
28 Mar 2022eslint-plugin: [no-unused-vars] add destructuredArrayIgnorePattern options
5.16.0
21 Mar 2022eslint-plugin: [consistent-type-assertions] enforce assertionStyle for
constassertionsscope-manager: incorrect reference for this within a jsx identifier
utils: RuleTester: Only call afterAll if defined
Bug Fixes
eslint-plugin: [consistent-type-assertions] enforce assertionStyle for
constassertionsscope-manager: incorrect reference for this within a jsx identifier
utils: RuleTester: Only call afterAll if defined
Features
eslint-plugin: [prefer-optional-chain] support logical with empty object
5.15.0
14 Mar 2022parser: add
parserOptions.emitDecoratorMetadata
5.14.0
7 Mar 2022eslint-plugin: [naming-convention] cover case that requires quotes
eslint-plugin: [no-misused-promises] factor thenable returning function overload signatures
eslint-plugin: [prefer-readonly-parameter-types] handle class sharp private field and member without throwing error
Bug Fixes
eslint-plugin: [naming-convention] cover case that requires quotes
eslint-plugin: [no-misused-promises] factor thenable returning function overload signatures
eslint-plugin: [prefer-readonly-parameter-types] handle class sharp private field and member without throwing error
eslint-plugin: [return-await] correct autofixer in binary expression
Features
eslint-plugin: [no-misused-promises] add granular options within
checksVoidReturnsTypeScript 4.6
5.13.0
28 Feb 2022eslint-plugin: [sort-type-union-intersection-members] Wrap the constructorType in parentheses
eslint-plugin: [no-misused-promises] check more places for checksVoidReturn
eslint-plugin: add
no-redundant-type-constituentsrule
Bug Fixes
eslint-plugin: [sort-type-union-intersection-members] Wrap the constructorType in parentheses
Features
eslint-plugin: [no-misused-promises] check more places for checksVoidReturn
eslint-plugin: add
no-redundant-type-constituentsruleeslint-plugin: add
no-useless-empty-exportruleeslint-plugin: add extension rule
space-before-blockseslint-plugin: added member group support to member-ordering rule
utils: expose
ast-utils' helpersutils: extract
isNotTokenOfTypeWithConditionsout ofast-utils'predicates
5.12.1
21 Feb 2022eslint-plugin: [no-unnecessary-type-arguments] fix comparison of types
5.12.0
14 Feb 2022eslint-plugin: [init-declarations] fix nested namespace
eslint-plugin: [no-unnecessary-type-arguments] Use Symbol to check if it's the same type
Support nested object deconstructuring with type annotation
Bug Fixes
eslint-plugin: [init-declarations] fix nested namespace
eslint-plugin: [no-unnecessary-type-arguments] Use Symbol to check if it's the same type
Support nested object deconstructuring with type annotation
Features
eslint-plugin: [explicit-module-boundary-types ] add checking property definition for allowNames option
5.11.0
7 Feb 2022eslint-plugin: [no-magic-numbers] fix invalid schema merging
eslint-plugin: [non-nullable-type-assertion-style] fix false positive when asserting to a generic type that might be nullish
eslint-plugin: [explicit-function-return-type] add allowedNames
5.10.2
31 Jan 2022eslint-plugin: [no-restricted-imports] allow relative type imports with patterns configured
5.10.1
24 Jan 2022Note: Version bump only for package @typescript-eslint/typescript-eslint
5.10.0
17 Jan 2022eslint-plugin: [explicit-function-return-type] support AllowTypedFunctionExpression within AllowHigherOrderFunction
eslint-plugin: [no-extra-semi] false negatives when used with eslint 8.3.0
eslint-plugin: [no-invalid-this] crash when used with eslint 8.7.0
Bug Fixes
eslint-plugin: [explicit-function-return-type] support AllowTypedFunctionExpression within AllowHigherOrderFunction
eslint-plugin: [no-extra-semi] false negatives when used with eslint 8.3.0
eslint-plugin: [no-invalid-this] crash when used with eslint 8.7.0
eslint-plugin: [no-magic-numbers] handle bigint in class props
type-utils: check IndexSignature internals when checking isTypeReadonly (#4417) (ef3147c), closes #4410 #3714
type-utils: intersection types involving readonly arrays are now handled in most cases
type-utils: isTypeReadonly now handles conditional types
type-utils: union types always being marked as readonly
Features
Rename
experimental-utilstoutilsand makeexperimental-utilsan alias to the new packagetype-utils: make isTypeReadonly's options param optional
5.9.1
10 Jan 2022Note: Version bump only for package @typescript-eslint/typescript-eslint
5.9.0
3 Jan 2022We published a number of our internal eslint-plugin utilities for working with TypeScript types under the package
@typescript-eslint/type-utils5.8.1
27 Dec 2021eslint-plugin: [consistent-indexed-object-style] do not report for circular references
eslint-plugin: [consistent-type-definitions] correct fixer with declare keyword
eslint-plugin: [padding-line-between-statements] make function overloading is also processed
5.8.0
20 Dec 2021eslint-plugin: [no-implied-eval] improve performance
eslint-plugin: [padding-line-between-statements]
typeStatementTypes can't differenciate from variableeslint-plugin: [strict-boolean-expression] false positive for truthy boolean
Bug Fixes
eslint-plugin: [no-implied-eval] improve performance
eslint-plugin: [padding-line-between-statements]
typeStatementTypes can't differenciate from variableeslint-plugin: [strict-boolean-expression] false positive for truthy boolean
eslint-plugin:
array-typemarkAST_NODE_TYPES.TSBigIntKeywordas simpleeslint-plugin: handle method overloading in
semiexperimental-utils: support immutable members
Features
eslint-plugin: [no-throw-literal] add options to to disallow
any/unknowneslint-plugin: [restrict-plus-operand] add allowAny option
5.7.0
13 Dec 2021typescript-estree: type-only regression for consumers not yet on TS 4.5
eslint-plugin: [consistent-type-exports] support TS4.5 inline export specifiers
eslint-plugin: [consistent-type-imports] support TS4.5 inline import specifiers
Bug Fixes
typescript-estree: type-only regression for consumers not yet on TS 4.5
Features
eslint-plugin: [consistent-type-exports] support TS4.5 inline export specifiers
eslint-plugin: [consistent-type-imports] support TS4.5 inline import specifiers
eslint-plugin: [no-shadow] support TS4.5 inline import specifiers
5.6.0
6 Dec 2021scope-manager: support TS4.5 import/export specifier kind
scope-manager: update lib types
5.4.0
15 Nov 2021Correct issues with circular imports
Landing page title duplication
Add RuleCreator.withoutDocs
5.3.1
8 Nov 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
5.3.0
1 Nov 2021eslint-plugin: ignore private identifiers in explicit-module-boundary-types
eslint-plugin: skip seenTypes for unions in isTypeReadonly
experimental-utils: add
nameproperty to test case interface
Bug Fixes
eslint-plugin: ignore private identifiers in explicit-module-boundary-types
eslint-plugin: skip seenTypes for unions in isTypeReadonly
experimental-utils: add
nameproperty to test case interface
Features
eslint-plugin: [no-shadow] exclude external type declaration merging
experimental-utils: extract
isTokenOfTypeWithConditionsout ofast-utils'predicates
5.1.0
18 Oct 2021eslint-plugin: [no-restricted-imports]: report type-only imports properly
eslint-plugin: [strict-bool-expr] treat unconstrained generic as any
typescript-estree: support private optional property definition
Bug Fixes
eslint-plugin: [no-restricted-imports]: report type-only imports properly
eslint-plugin: [strict-bool-expr] treat unconstrained generic as any
typescript-estree: support private optional property definition
Features
experimental-utils: extract
ast-utils'predicates' helpers
5.0.0
11 Oct 2021Class properties with values now create a
'class-field-initializer'type scope around their value.
- 4.x
4.33.0
4 Oct 2021eslint-plugin: [lines-between-class-members] fix
exceptAfterOverloadfor abstract methodseslint-plugin: [no-confusing-void-expression] support optional chaining
eslint-plugin: [no-restricted-imports] fix crash when no options given
Bug Fixes
eslint-plugin: [lines-between-class-members] fix
exceptAfterOverloadfor abstract methodseslint-plugin: [no-confusing-void-expression] support optional chaining
eslint-plugin: [no-restricted-imports] fix crash when no options given
eslint-plugin: [non-nullable-type-assertion-style] false-positive with non-nullish
asassertions and typeseslint-plugin: [padding-line-between-statements] TSModuleBlock should change scope
eslint-plugin: [prefer-regexp-exec] check
RegExpwithout flagsexperimental-utils: add
getPhysicalFilename()toRuleContextexperimental-utils: require fix in suggestions
Features
experimental-utils: extract
isNodeOfTypeWithConditionsout ofast-utils'predicates
4.32.0
27 Sep 2021Support
'latest'asecmaVersion
4.31.2
20 Sep 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.31.1
13 Sep 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.31.0
6 Sep 2021ast-spec: remove duplicate union types from
Expression
4.30.0
30 Aug 2021eslint-plugin: [prefer-reduce-type-parameter] handle already existing type params
eslint-plugin: isTypeReadonly error with <TS3.7
Bug Fixes
eslint-plugin: [dot-notation] false positive with optional chaining (#3711) (c19fc6e), closes #3510
eslint-plugin: [prefer-reduce-type-parameter] handle already existing type params
eslint-plugin: isTypeReadonly error with <TS3.7
visitor-keys: add key to StaticBlock (v5)
Features
experimental-utils: add literal types to
globaloptiontypescript-estree: add support for class static blocks
4.29.3
23 Aug 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.29.2
16 Aug 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.29.1
9 Aug 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.29.0
2 Aug 2021eslint-plugin: [no-implied-eval] handle bind on nested member expressions
eslint-plugin: [no-implied-eval] permit more expression types
eslint-plugin: [no-unnecessary-boolean-literal-compare] incorrect fix when condition is reversed
Bug Fixes
eslint-plugin: [no-implied-eval] handle bind on nested member expressions
eslint-plugin: [no-implied-eval] permit more expression types
eslint-plugin: [no-unnecessary-boolean-literal-compare] incorrect fix when condition is reversed
eslint-plugin: [return-await] handle nested functions correctly
eslint-plugin: [return-await] properly handle fixes for
TSAsExpressionexperimental-utils: simplify
eslint-utils'findVariable's signature inast-utilstypescript-estree: correct tty check
typescript-estree: ensure --fix works with singleRun mode
Features
ast-spec: extract
ExportKind&ImportKindast-spec: make
BaseNode&BaseTokenmore type-safeeslint-plugin: [no-redeclare] ignoreDeclarationMerge of enum+namespace
eslint-plugin: [prefer-return-this-type] add a new rule
eslint-plugin: Catch unused React import with new JSX transform
typescript-estree: add support for custom module resolution
4.28.5
26 Jul 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.28.4
19 Jul 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.28.3
12 Jul 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.28.2
5 Jul 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.28.1
28 Jun 2021Note: Version bump only for package @typescript-eslint/typescript-eslint
4.28.0
21 Jun 2021eslint-plugin: [prefer-regexp-exec] factor in union types
experimental-utils: expand
RuleTesterconfig propertiesexperimental-utils: fix
eslint-utils' negative predicates' return types
Bug Fixes
eslint-plugin: [prefer-regexp-exec] factor in union types
experimental-utils: expand
RuleTesterconfig propertiesexperimental-utils: fix
eslint-utils' negative predicates' return typesexperimental-utils: fix
eslint-utils' negative predicates' return types inast-utilsexperimental-utils: make keys for
ReferenceTrackeroptions optional
Features
experimental-utils: add
onlyproperty toRuleTestertypesexperimental-utils: expose ReferenceTracker.ESM
experimental-utils: use mergable interface for
settingsproperty
4.26.0
31 May 2021eslint-plugin: [no-type-alias] consider type imports as alias types
eslint-plugin: [member-ordering] add callback as an ordering type of node
Bug Fixes
eslint-plugin: [no-type-alias] consider type imports as alias types
Generate library types for TypeScript v4.3 (#3460) (ed4776a), closes #3449
Features
eslint-plugin: [member-ordering] add callback as an ordering type of node
eslint-plugin: [space-infix-ops] Add support for Union and intersection of type declarations
scope-manager: reduce generated lib file size
4.25.0
24 May 2021Corrected no-unsupported-browser-code in roadmap as unimplemented
experimental-utils: fix
isAwaitKeywordpredicate in ast-utilstypescript-estree: [TS4.3] support overrides on class members
Bug Fixes
Corrected no-unsupported-browser-code in roadmap as unimplemented
experimental-utils: fix
isAwaitKeywordpredicate in ast-utils
Features
4.24.0
17 May 2021eslint-plugin: [dot-notation] optionally allow square bracket notation where an index signature exists in conjunction with
noPropertyAccessFromIndexSignature
4.23.0
10 May 2021scope-manager: fix visiting TSAsExpression in assignment
experimental-utils: Include
getCwd()inRuleContexttypeRefactor to split AST specification out as its own module
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.