@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.51.0
6 Feb 2023eslint-plugin: do not use .at(), Node 14 does not support it
eslint-plugin: [naming-convention] improve performance by removing unnecessary selectors
Bug Fixes
eslint-plugin: [sort-type-constituents] fixed behavior change (#6384) (5bf7f7f), closes #6339
eslint-plugin: do not use .at(), Node 14 does not support it
Features
eslint-plugin: [naming-convention] improve performance by removing unnecessary selectors
eslint-plugin: [no-floating-promises] error on logical expression
eslint-plugin: [no-import-type-side-effects] add rule to warn against runtime side effects with
verbatimModuleSyntaxeslint-plugin: [strict-boolean-expressions] add allow nullable enum to strict boolean expressions
typescript-estree: cache project glob resolution
5.50.0
31 Jan 2023ast-spec: a JSXEmptyExpression is not a possible JSXExpression
eslint-plugin: [ban-ts-comment] counts graphemes instead of
String.prototype.lengtheslint-plugin: [prefer-optional-chain] fix
ThisExpressionandPrivateIdentifiererrors
Bug Fixes
ast-spec: a JSXEmptyExpression is not a possible JSXExpression
eslint-plugin: [ban-ts-comment] counts graphemes instead of
String.prototype.lengtheslint-plugin: [prefer-optional-chain] fix
ThisExpressionandPrivateIdentifiererrorseslint-plugin: [prefer-optional-chain] fixer produces wrong logic (#5919) (b0f6c8e), closes #1438
Features
eslint-plugin: add
key-spacingrule extension for interface & type declarations
5.49.0
23 Jan 2023eslint-plugin: [naming-convention] add support for
#privatemodifier on class members
5.48.2
16 Jan 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.48.1
9 Jan 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.48.0
2 Jan 2023eslint-plugin: specify which method is unbound and added test case
5.47.1
26 Dec 2022ast-spec: correct some incorrect ast types
eslint-plugin: [member-ordering] correctly invert optionalityOrder
5.47.0
19 Dec 2022eslint-plugin: [no-floating-promises] add suggestion fixer to add an 'await'
5.46.1
12 Dec 2022Note: Version bump only for package @typescript-eslint/typescript-eslint
5.46.0
8 Dec 2022eslint-plugin: [ban-types] update message to suggest
objectinstead ofRecord<string, unknown>eslint-plugin: [prefer-nullish-coalescing] logic and test for strict null checks
5.45.1
5 Dec 2022- Removed
parser: remove the jsx option requirement for automatic jsx pragma resolution
eslint-plugin: [keyword-spacing] unexpected space before/after in
import typeeslint-plugin: [no-shadow] add call and method signatures to
ignoreFunctionTypeParameterNameValueShadow
Bug Fixes
eslint-plugin: [keyword-spacing] unexpected space before/after in
import typeeslint-plugin: [no-shadow] add call and method signatures to
ignoreFunctionTypeParameterNameValueShadoweslint-plugin: [prefer-optional-chain] collect MetaProperty type
eslint-plugin: [sort-type-constituents, sort-type-union-intersection-members] handle some required parentheses cases in the fixer
- Removed
parser: remove the jsx option requirement for automatic jsx pragma resolution
5.45.0
28 Nov 2022eslint-plugin: [array-type] --fix flag removes parentheses from type
eslint-plugin: [keyword-spacing] prevent crash on no options
eslint-plugin: [member-ordering] support private fields
Bug Fixes
eslint-plugin: [array-type] --fix flag removes parentheses from type
eslint-plugin: [keyword-spacing] prevent crash on no options
eslint-plugin: [member-ordering] support private fields
eslint-plugin: [prefer-readonly] report if a member's property is reassigned
scope-manager: add support for TS4.9 satisfies expression
typescript-estree: stub out
ts.SatisfiesExpressionon old TS versions
Features
eslint-plugin: [member-ordering] add a required option for required vs. optional member ordering
Support Auto Accessor syntax
5.44.0
21 Nov 2022eslint-plugin: [no-empty-interface] disable autofix for declaration merging with class
eslint-plugin: [no-unnecessary-condition] handle index signature type
eslint-plugin: [prefer-optional-chain] handle binary expressions in negated or
Bug Fixes
eslint-plugin: [no-empty-interface] disable autofix for declaration merging with class
eslint-plugin: [no-unnecessary-condition] handle index signature type
eslint-plugin: [prefer-optional-chain] handle binary expressions in negated or
typescript-estree: don't consider a cached program unless it's specified in the current
parserOptions.projectconfig
Features
eslint-plugin: [adjacent-overload-signatures] check BlockStatement nodes
eslint-plugin: [keyword-spacing] Support spacing in import-type syntax
Support parsing
satisfiesoperatorsUpdate to TypeScript 4.9
5.43.0
14 Nov 2022eslint-plugin: [no-shadow] handle false positives on generics and parameters
eslint-plugin: [promise-function-async] handle keyword token
eslint-plugin: [consistent-type-imports] support fixing to inline types
Bug Fixes
eslint-plugin: [no-shadow] handle false positives on generics and parameters
eslint-plugin: [promise-function-async] handle keyword token
Features
eslint-plugin: [consistent-type-imports] support fixing to inline types
eslint-plugin: [naming-convention] add support for "override" and "async" modifiers
eslint-plugin: [prefer-optional-chain] support suggesting
!foo || !foo.baras a valid match for the rule
5.42.1
7 Nov 2022ast-spec: correct misnamed ExportNamedDeclaration AST type
eslint-plugin: isTypeReadonly stack overflow
5.42.0
31 Oct 2022ast-spec: add TSQualifiedName to TypeNode union
eslint-plugin: [no-extra-parens] handle type assertion in extends clause
typescript-estree: don't allow single-run unless we're in type-aware linting mode
Bug Fixes
ast-spec: add TSQualifiedName to TypeNode union
eslint-plugin: [no-extra-parens] handle type assertion in extends clause
typescript-estree: don't allow single-run unless we're in type-aware linting mode
Features
eslint-plugin: [member-ordering] add natural sort order
eslint-plugin: [no-invalid-void-type] better report message for void used as a constituent inside a function return type
typescript-estree: clarify docs and error for program project without matching TSConfig
utils: add
RuleTesterAPI for top-level dependency constraints
5.41.0
24 Oct 2022eslint-plugin: [no-base-to-string] ignore Error, URL, and URLSearchParams by default
eslint-plugin: [no-unsafe-declaration-merging] switch to use scope analysis instead of type information
Bug Fixes
eslint-plugin: [no-base-to-string] ignore Error, URL, and URLSearchParams by default
type-utils: prevent stack overflow in
isTypeReadonly(#5860) (a6d8f7e), closes #4476
Features
eslint-plugin: [no-unsafe-declaration-merging] switch to use scope analysis instead of type information
eslint-plugin: add no-unsafe-declaration-merging
5.40.1
17 Oct 2022utils: add missing dependency on
@types/semver
5.40.0
10 Oct 2022eslint-plugin: [consistent-indexed-object-style] handle interface generic
eslint-plugin: [no-unnecessary-condition] handle void
5.39.0
3 Oct 2022eslint-plugin: [no-invalid-void-type] allow using void as a default type for a generic argument if
allowInGenericTypeArgumentsis specified
5.38.1
26 Sep 2022Note: Version bump only for package @typescript-eslint/typescript-eslint
5.38.0
19 Sep 2022Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
5.37.0
12 Sep 2022eslint-plugin: [strict-boolean-expressions] check all conditions in a logical operator chain
Bug Fixes
eslint-plugin: [strict-boolean-expressions] check all conditions in a logical operator chain
5.36.2
5 Sep 2022eslint-plugin: [no-extra-parens] handle generic ts array type.
scope-manager: correct handling for class static blocks
typescript-estree: don't double add decorators to a parameter property's parameter
5.36.1
30 Aug 2022typescript-estree: fix decorator regression for pre TS4.8
5.35.1
24 Aug 2022eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers
eslint-plugin: [prefer-optional-chain] support suggesting
!foo || !foo.baras a valid match for the ruletypes: add unbound property in parser options
Features
eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers
eslint-plugin: [prefer-optional-chain] support suggesting
!foo || !foo.baras a valid match for the ruletypes: add unbound property in parser options
Bug Fixes
eslint-plugin: correct rule schemas to pass ajv validation
ast-spec: NewExpression argument can be SpreadElement now
eslint-plugin: [no-useless-constructor] handle parameter decorator
scope-manager: visit static blocks
5.35.0
24 Aug 2022Note: Version bump only for package @typescript-eslint/scope-manager
5.34.0
22 Aug 2022scope-manager: visit static blocks
5.33.1
15 Aug 2022Missing placeholders in violation messages for
no-unnecessary-type-constraintandno-unsafe-argument(and enableeslint-plugin/recommendedrules internally)
5.33.0
8 Aug 2022eslint-plugin: [no-extra-parens] handle await with type assertion
eslint-plugin: [member-ordering] support static blocks
eslint-plugin: [prefer-as-const] adds support for class properties
Bug Fixes
eslint-plugin: [no-extra-parens] handle await with type assertion
Features
eslint-plugin: [member-ordering] support static blocks
eslint-plugin: [prefer-as-const] adds support for class properties
5.32.0
1 Aug 2022eslint-plugin: [no-use-before-define] add "allowNamedExports" option
5.31.0
25 Jul 2022eslint-plugin: [typedef] Support nested array destructuring with type annotation
scope-manager: handle typeParameters of TSInstantiationExpression
eslint-plugin: [consistent-generic-ctors] check class field declaration
Bug Fixes
eslint-plugin: [typedef] Support nested array destructuring with type annotation
scope-manager: handle typeParameters of TSInstantiationExpression
Features
eslint-plugin: [consistent-generic-ctors] check class field declaration
eslint-plugin: [prefer-nullish-coalescing] add ignoreTernaryTests option
5.30.7
18 Jul 2022eslint-plugin: [no-inferrable] fix optional param to valid code
eslint-plugin: [no-unused-vars] highlight last write reference
Expose types supporting old versions of typescript
Bug Fixes
eslint-plugin: [no-inferrable] fix optional param to valid code
eslint-plugin: [no-unused-vars] highlight last write reference
Expose types supporting old versions of typescript
scope-manager: allow visiting of constraint in infer type
5.30.6
11 Jul 2022Note: Version bump only for package @typescript-eslint/typescript-eslint
5.30.5
4 Jul 2022eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value
eslint-plugin: [no-base-to-string] add missing apostrophe to message
5.30.4
3 Jul 2022Note: Version bump only for package @typescript-eslint/scope-manager
5.30.3
1 Jul 2022Note: Version bump only for package @typescript-eslint/scope-manager
5.30.2
1 Jul 2022Note: Version bump only for package @typescript-eslint/scope-manager
5.30.1
1 Jul 2022Note: Version bump only for package @typescript-eslint/scope-manager
5.30.0
27 Jun 2022eslint-plugin: [no-shadow] add shadowed variable location to the error message
Treat
thisintypeof thisas aThisExpression
5.29.0
20 Jun 2022Note: Version bump only for weekly release.
Note: Version bump only for weekly release.
Unfortunately we marked a website change as a
feat, hence this wasn't just a patch-level bump.5.28.0
13 Jun 2022Allow visiting of typeParameters in TSTypeQuery
eslint-plugin: [space-infix-ops] support for optional property without type
ast-spec: extract
AssignmentOperatorToText
Bug Fixes
Allow visiting of typeParameters in TSTypeQuery
eslint-plugin: [space-infix-ops] support for optional property without type
Features
ast-spec: extract
AssignmentOperatorToTexteslint-plugin: [consistent-generic-constructors] add rule
5.27.1
6 Jun 2022eslint-plugin: [space-infix-ops] correct PropertyDefinition with typeAnnotation
eslint-plugin: [space-infix-ops] regression fix for conditional types
eslint-plugin: [space-infix-ops] regression fix for type aliases
5.27.0
30 May 2022eslint-plugin: [no-type-alias] handle Template Literal Types
types: remove leftovers from removal of useJSXTextNode
Support new extensions
Bug Fixes
eslint-plugin: [no-type-alias] handle Template Literal Types
types: remove leftovers from removal of useJSXTextNode
Features
Support new extensions
Support type parameters for
typeofBump dependency ranges to TypeScript 4.7
eslint-plugin: [ban-ts-comment] add descriptionFormat option
eslint-plugin: [no-misused-promises] warn when spreading promises
eslint-plugin: [space-infix-ops] missing error report for conditional types
5.26.0
23 May 2022ast-spec: add
SpreadElementtoArrayExpression.elementseslint-plugin: [member-delimiter-style] autofixer result is not as expected when comments after the delimiter with option
delimiter: 'none'eslint-plugin: [member-delimiter-style] autofixer result is not as expected with option
delimiter: 'none'
Bug Fixes
ast-spec: add
SpreadElementtoArrayExpression.elementseslint-plugin: [member-delimiter-style] autofixer result is not as expected when comments after the delimiter with option
delimiter: 'none'eslint-plugin: [member-delimiter-style] autofixer result is not as expected with option
delimiter: 'none'eslint-plugin: [prefer-readonly] correct issue with anonymus functions (#4974) (952e2f0), closes #2590
Features
Support instantiation expressions
Support optional variance annotation
Support
extendsconstraints forinfer
5.25.0
17 May 2022- Deprecated
eslint-plugin: deprecate
no-duplicate-importsin favour ofimport/no-duplicates eslint-plugin: [typedef] stop enforcing rule for assignment expressions
eslint-plugin: strict config should not extend recommended
Bug Fixes
eslint-plugin: [typedef] stop enforcing rule for assignment expressions
eslint-plugin: strict config should not extend recommended
Features
eslint-plugin: [no-empty-function] new allow option overrideMethods
- Deprecated
eslint-plugin: deprecate
no-duplicate-importsin favour ofimport/no-duplicates Update to TypeScript 4.7-rc
5.24.0
16 May 2022eslint-plugin: [array-type] in fixer add missing parens for constructor types #4756
eslint-plugin: Add BigInt object type to default ban-types list
eslint-plugin: add new 'strict' config
Bug Fixes
eslint-plugin: [array-type] in fixer add missing parens for constructor types #4756
Features
eslint-plugin: Add BigInt object type to default ban-types list
eslint-plugin: add new 'strict' config
5.23.0
9 May 2022ast-spec: correct
AwaitExpression.argumenttypeeslint-plugin: [no-restricted-imports] allow type import as long as there's one matching pattern
eslint-plugin: [no-unnecessary-type-constraint] change to suggestion fix, fix multiple trailing comma failures
Bug Fixes
ast-spec: correct
AwaitExpression.argumenttypeeslint-plugin: [no-restricted-imports] allow type import as long as there's one matching pattern
eslint-plugin: [no-unnecessary-type-constraint] change to suggestion fix, fix multiple trailing comma failures
Features
utils: update eslint types
5.22.0
2 May 2022eslint-plugin: [comma-spacing] verify
nextTokenexistsast-spec: add fixture test framework and some initial fixtures
eslint-plugin: [no-duplicate-enum-values] add 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.