@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.
- 8.x · latest line
8.12.1
28 Oct 20248.12.0
28 Oct 20248.11.0
21 Oct 2024eslint-plugin: [no-base-to-string] add support for catching toLocaleString
eslint-plugin: [no-unnecessary-type-parameters] add suggestion fixer
eslint-plugin: [class-literal-property-style] don't report nodes with
overridekeyword
Features
eslint-plugin: [no-base-to-string] add support for catching toLocaleString
eslint-plugin: [no-unnecessary-type-parameters] add suggestion fixer
Fixes
eslint-plugin: [class-literal-property-style] don't report nodes with
overridekeywordrule-tester: allow custom filename outside directory
8.10.0
17 Oct 2024Support TypeScript 5.6
typescript-eslint: propagate
namefield to extended configs inconfighelper
8.9.0
14 Oct 2024scope-manager: [no-use-before-define] do not treat nested namespace aliases as variable references
8.8.1
7 Oct 2024eslint-plugin: stop warning on @ts-nocheck comments which aren't at the beginning of the file
typescript-estree: fix crash when running from a
node --evalscripttypescript-estree: ensure mjs/mts files are always be parsed as ESM
8.8.0
30 Sep 2024- Removed
Remove
export type *in d.ts to support TS<5.0 eslint-plugin: [no-deprecated] max callstack exceeded when class implements itself
8.7.0
23 Sep 2024eslint-plugin: [no-unsafe-call] check calls of Function
eslint-plugin: [consistent-type-exports] check
export *exports to see if all exported members are typeseslint-plugin: properly coerce all types to string in
getStaticMemberAccessValue
Features
eslint-plugin: [no-unsafe-call] check calls of Function
eslint-plugin: [consistent-type-exports] check
export *exports to see if all exported members are types
Fixes
eslint-plugin: properly coerce all types to string in
getStaticMemberAccessValueeslint-plugin: [no-deprecated] report on imported deprecated variables
eslint-plugin: [no-confusing-non-null-assertion] check !in and !instanceof
types: add
NewExpressionas a parent ofSpreadElementutils: add missing entries to the RuleListener selectors list
8.6.0
16 Sep 2024Add
allowoption forrestrict-template-expressionseslint-plugin: [no-deprecated] don't report recursive types in destructuring assignment twice
eslint-plugin: [no-deprecated] report on deprecated variables used in destructuring assignment
Features
Add
allowoption forrestrict-template-expressions
Fixes
eslint-plugin: [no-deprecated] don't report recursive types in destructuring assignment twice
eslint-plugin: [no-deprecated] report on deprecated variables used in destructuring assignment
eslint-plugin: [no-deprecated] report on deprecated properties with function-like types
8.5.0
9 Sep 2024eslint-plugin: [no-duplicate-type-constituents] prevent unnecessary
| undefinedfor optional parameterseslint-plugin: [no-unsafe-argument] differentiate error types
typescript-estree: default projectService.defaultProject to 'tsconfig.json'
Features
eslint-plugin: [no-duplicate-type-constituents] prevent unnecessary
| undefinedfor optional parameterseslint-plugin: [no-unsafe-argument] differentiate error types
typescript-estree: default projectService.defaultProject to 'tsconfig.json'
Fixes
eslint-plugin: [no-unnecessary-type-assertion] fix TSNonNullExpression fixer
eslint-plugin: [no-misused-promises] handle static method
eslint-plugin: [no-unnecessary-type-parameters] fix AST quick path scope analysis
eslint-plugin: [consistent-type-assertions] access parser services lazily
8.4.0
2 Sep 2024typescript-estree: make withoutProjectParserOptions generic
8.3.0
26 Aug 2024eslint-plugin: [no-deprecated] add rule
8.2.0
19 Aug 2024eslint-plugin: add suggestion to
require-awaitto removeasynckeywordtypescript-estree: special-case error for parserOptions.project and project references
eslint-plugin: [use-unknown-in-catch-callback-variable] flag second argument of
.then
Features
eslint-plugin: add suggestion to
require-awaitto removeasynckeywordtypescript-estree: special-case error for parserOptions.project and project references
Fixes
eslint-plugin: [use-unknown-in-catch-callback-variable] flag second argument of
.theneslint-plugin: [no-unnecessary-type-assertion] conflict with TS for variables used before assignment
eslint-plugin: delete in message if ReadOnly<string> is detected
eslint-plugin: [no-redundant-type-constituents] differentiate a types-error any from a true any
eslint-plugin: [no-unnecessary-type-parameters] check mapped constraint types if necessary
eslint-plugin: [no-unsafe-enum-comparison] add logic to see through intersections
typescript-estree: pass in tsconfigRootDir as cwd to getParsedConfigFile
8.1.0
12 Aug 20248.0.1
5 Aug 2024eslint-plugin: [no-unused-vars] ignore imports used only as types
8.0.0
31 Jul 2024- Deprecated
eslint-plugin: deprecate no-loss-of-precision extension rule
- Breaking
eslint-plugin: remove formatting/layout rules
- Breaking
typescript-estree: remove slow deprecated and isolated programs
For more information, please see our blog post on this release: typescript-eslint.io/blog/announcing-typescript…
Raw Changelog
Breaking Changes
- Deprecated
eslint-plugin: deprecate no-loss-of-precision extension rule
- Breaking
eslint-plugin: remove formatting/layout rules
- Breaking
typescript-estree: remove slow deprecated and isolated programs
- Breaking
ast-spec: remove deprecated type params
- Breaking
type-utils: remove IsNullableTypeOptions interface
- Breaking
typescript-estree: remove EXPERIMENTAL_useSourceOfProjectReferenceRedirect
- Breaking
eslint-plugin: remove no-useless-template-literals
- Breaking
type-utils: remove getTokenAtPosition
Features
Stricter parent types for the AST
Speed up non-type-aware linting with project service
v8 integration branch
- Removed
eslint-plugin: remove deprecated no-throw-literal rule
typescript-estree: also remove projectService in withoutProjectParserOptions
- Removed
utils: remove deprecated context helpers
Fixes
Correct eslint-plugin's peerDependency on parser@8
Bring back in allowdefaultprojectforfiles rename
Disable
projectServiceindisabled-type-checkedshared configeslint-plugin: remove duplicate import
RuleModuleWithMetaDocstypes: allow ProjectServiceOptions for projectService
- 7.x
7.18.0
29 Jul 2024types: update ECMA versions
eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib
eslint-plugin: [unbound-method] report on destructuring in function parameters
Features
types: update ECMA versions
Fixes
eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib
eslint-plugin: [unbound-method] report on destructuring in function parameters
eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types
eslint-plugin: [strict-boolean-expressions] support branded booleans
7.17.0
22 Jul 2024- Deprecated
eslint-plugin: [return-await] add option to report in error-handling scenarios only, and deprecate "never"
7.16.1
15 Jul 2024eslint-plugin: [no-unnecessary-type-parameters] descend into all parts of mapped types in no-unnecessary-type-parameters
7.16.0
8 Jul 2024Only updates a dependency:@eslint-community/regexpp 4.11.0
7.15.0
1 Jul 2024eslint-plugin: [array-type] detect
Readonly<string>caseeslint-plugin: back-port new rules around empty object types from v8
Disable
EXPERIMENTAL_useProjectServiceindisabled-type-checkedshared config
Features
eslint-plugin: [array-type] detect
Readonly<string>caseeslint-plugin: back-port new rules around empty object types from v8
Fixes
Disable
EXPERIMENTAL_useProjectServiceindisabled-type-checkedshared configeslint-plugin: [no-unsafe-return] differentiate a types-error any from a true any
eslint-plugin: [no-unsafe-call] differentiate a types-error any from a true any
utils: clean outdated
RuleTesterexport
7.14.1
24 Jun 2024Support TypeScript 5.5
ast-spec: tighter types and documentation for declaration/*
Keep warnAbountTSVersion in sync with package.json
Features
Support TypeScript 5.5
ast-spec: tighter types and documentation for declaration/*
Fixes
Keep warnAbountTSVersion in sync with package.json
eslint-plugin: [no-extraneous-class] handle abstract members
eslint-plugin: [prefer-nullish-coalescing] handle intersected primitive types
eslint-plugin: [no-invalid-this] support AccessorProperty
eslint-plugin: [prefer-nullish-coalescing] treat enums and literals as their underlying primitive types
eslint-plugin: [prefer-nullish-coalescing] ensure ternary fix does not remove parens
7.14.0
24 Jun 2024We followed this up soon after with 7.14.1 - see the combined release notes here github.com/typescript-eslint/typescript-eslint/…
We followed this up soon after with 7.14.1 - see the combined release notes here github.com/typescript-eslint/typescript-eslint/…
You can read about our versioning strategy and releases on our website.
7.13.1
17 Jun 2024eslint-plugin: [prefer-readonly] refine report locations
eslint-plugin: [return-await] support explicit resource management
eslint-plugin: [no-unsafe-member-access] differentiate a types-error any from a true any
7.13.0
10 Jun 2024scope-manager: handle index signature in class
7.12.0
3 Jun 2024eslint-plugin: [no-useless-template-literals] rename to
no-unnecessary-template-expression(deprecateno-useless-template-literals)eslint-plugin: [no-floating-promises] add option 'allowForKnownSafePromises'
rule-tester: check for parsing errors in suggestion fixes
Features
eslint-plugin: [no-useless-template-literals] rename to
no-unnecessary-template-expression(deprecateno-useless-template-literals)eslint-plugin: [no-floating-promises] add option 'allowForKnownSafePromises'
rule-tester: check for parsing errors in suggestion fixes
rule-tester: port
checkDuplicateTestCasesfrom ESLint
Fixes
eslint-plugin: [no-unnecessary-type-assertion] combine template literal check with
constvariable checkeslint-plugin: [dot-notation] fix false positive when accessing private/protected property with optional chaining
eslint-plugin: [explicit-member-accessibility] refine report locations
eslint-plugin: [no-unnecessary-type-assertion] declares are always defined, so always check
declareseslint-plugin: [prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions
eslint-plugin: [return-await] clean up in-try-catch detection and make autofixes safe
eslint-plugin: [member-ordering] also TSMethodSignature can be get/set
types: correct typing ParserOptions
7.11.0
27 May 2024- Deprecated
eslint-plugin: deprecate prefer-ts-expect-error in favor of ban-ts-comment
7.10.0
20 May 2024utils: remove function form type from flat config
filesandignores
7.9.0
13 May 2024rule-tester: check for missing placeholder data in the message
Do not pass tsconfig canonical file name to typescript API to get program details for config file
eslint-plugin: [explicit-function-return-types] fix false positive on default parameters
7.8.0
29 Apr 20247.7.1
22 Apr 2024eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment
eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type
eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullish
Fixes
eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment
eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type
eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullisheslint-plugin: [no-for-in-array] refine report location
eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type
7.7.0
15 Apr 2024eslint-plugin: replace
no-new-symbolwithno-new-native-nonconstructortypescript-estree: add defaultProject for project service
7.6.0
8 Apr 2024Add
namefield to shared configs and flat config typesBump npm dependency ranges
utils: add types for both flat and legacy eslint classes
Features
Add
namefield to shared configs and flat config typesBump npm dependency ranges
note: this does not include support for ESLint v9 - see #8211 for progress.
utils: add types for both flat and legacy eslint classes
Fixes
typescript-eslint: fix type errors when using
exactOptionalPropertyTypes
7.5.0
1 Apr 20247.4.0
25 Mar 2024- Deprecated
eslint-plugin: deprecate no-throw-literal and add a renamed only-throw-error
eslint-plugin: [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside
7.3.1
18 Mar 2024eslint-plugin: [no-floating-promises] revert disable of ignoreVoid in strict config
7.2.0
11 Mar 2024Support TS 5.4
eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option
eslint-plugin: expose *-type-checked-only configs for extension
Features
Support TS 5.4
eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option
Fixes
eslint-plugin: expose *-type-checked-only configs for extension
eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group
eslint-plugin: [no-var-requires, no-require-imports] support template literal
eslint-plugin: [no-useless-template-literals] detect TemplateLiteral
eslint-plugin: [no-unnecessary-condition] handle union array and tuple type
eslint-plugin: [prefer-find] support ternary branches in prefer-find
typescript-eslint: set
sourceType: "module"in base shared configtypescript-eslint: export
ConfigWithExtendstype
7.1.1
4 Mar 2024typescript-eslint: apply
ignoresto all extended configs passed toconfighelper function
7.1.0
26 Feb 2024eslint-plugin: add *-type-checked-only configs
eslint-plugin: [naming-convention] support the auto-accessor syntax
eslint-plugin: [consistent-return] add new rule
Features
eslint-plugin: add *-type-checked-only configs
eslint-plugin: [naming-convention] support the auto-accessor syntax
eslint-plugin: [consistent-return] add new rule
typescript-estree: add debug logs for useProgramFromProjectService
Fixes
eslint-plugin: [prefer-optional-chan] allow typeof for avoiding reference error
eslint-plugin: [no-misused-promises] improve check union types
eslint-plugin: [no-use-before-define] fix false positive type reference in as, satisfies
typescript-estree: use simpler absolutify behavior for project service client file paths
7.0.2
19 Feb 2024Fix tsconfig-less check errors, fix
@types/eslintincompatibilities, add testsutils: use mergeable interface for
settingsproperty
7.0.1
12 Feb 2024eslint-plugin: update peer dep for parser
7.0.0
12 Feb 2024- Breaking
⚠️ bump ESLint, NodeJS, and TS minimum version requirements
Add support for flat configs
eslint-plugin: [prefer-find] stop throwing type errors when converting symbols to numbers
Read more about this release: typescript-eslint.io/blog/announcing-typescript…
Auto-Generated Release Notes
Features
Add support for flat configs
Fixes
eslint-plugin: [prefer-find] stop throwing type errors when converting symbols to numbers
Breaking Changes
- Breaking
⚠️ bump ESLint, NodeJS, and TS minimum version requirements
- 6.x
6.21.0
5 Feb 2024Export plugin metadata
Allow
parserOptions.project: false
6.20.0
29 Jan 2024eslint-plugin: [member-ordering] allow easy reuse of the default ordering
eslint-plugin: [no-useless-template-literals] incorrect bigint autofix result
eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as non-nullable
Features
eslint-plugin: [member-ordering] allow easy reuse of the default ordering
Fixes
eslint-plugin: [no-useless-template-literals] incorrect bigint autofix result
eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as non-nullable
eslint-plugin: [no-useless-template-literals] report Infinity & NaN
eslint-plugin: [prefer-readonly] disable checking accessors
6.19.1
22 Jan 2024eslint-plugin: [no-unnecessary-condition] fix false positive for type variable
type-utils: preventing isUnsafeAssignment infinite recursive calls
6.19.0
15 Jan 2024eslint-plugin: [prefer-promise-reject-errors] add rule
eslint-plugin: [no-array-delete] add new rule
eslint-plugin: [no-useless-template-literals] add fix suggestions
Features
eslint-plugin: [prefer-promise-reject-errors] add rule
eslint-plugin: [no-array-delete] add new rule
eslint-plugin: [no-useless-template-literals] add fix suggestions
Fixes
eslint-plugin: [no-unnecessary-type-assertion] detect unnecessary non-null-assertion on a call expression
eslint-plugin: [no-unnecesary-type-assertion] treat unknown/any as nullable
typescript-estree: add JSDocParsingMode enum merge for typescript/lib/tsserverlibrary
typescript-estree: disallow
usingas the variable keyword forfor..inloopstypescript-estree: fix incorrect backwards-compat augmentation in TS 5.3
6.18.1
8 Jan 20246.18.0
6 Jan 2024eslint-plugin: [no-var-requires, no-require-imports] allow option
typescript-estree: throw on invalid update expressions
typescript-estree: throw error when CatchClause param contains initializer
6.17.0
1 Jan 2024eslint-plugin: [no-restricted-imports] prevent crash when
patternsorpathsin options are emptyeslint-plugin: [no-floating-promises] flag result of .map(async)
eslint-plugin: [switch-exhaustiveness-check] add an option to warn against a
defaultcase on an already exhaustiveswitch
Bug Fixes
eslint-plugin: [no-restricted-imports] prevent crash when
patternsorpathsin options are empty
Features
eslint-plugin: [no-floating-promises] flag result of .map(async)
eslint-plugin: [switch-exhaustiveness-check] add an option to warn against a
defaultcase on an already exhaustiveswitch
You can read about our versioning strategy and releases on our website.
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.