@typescript-eslint/typescript-estree
8.73.0 · 16 Nov 2026MIT224M / weekRepositoryHomepagenpmAtom feed
417 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 6.x
6.16.0
25 Dec 2023- Deprecated
eslint-plugin: deprecate formatting rules
eslint-plugin: [unbound-method] exempt all non-Promise built-in statics
typescript-estree: add allowDefaultProjectForFiles project service allowlist option
Bug Fixes
eslint-plugin: [unbound-method] exempt all non-Promise built-in statics
Features
- Deprecated
eslint-plugin: deprecate formatting rules
typescript-estree: add allowDefaultProjectForFiles project service allowlist option
You can read about our versioning strategy and releases on our website.
6.15.0
18 Dec 2023eslint-plugin: [require-array-sort-compare] support toSorted
Features
eslint-plugin: [no-useless-template-literals] add new rule (#7957) (ff75785), closes #2846
eslint-plugin: [require-array-sort-compare] support toSorted
You can read about our versioning strategy and releases on our website.
6.14.0
11 Dec 2023eslint-plugin: add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked
eslint-plugin: correct message for
no-unsafe-unary-minuseslint-plugin: [explicit-function-return-type] add support for typed class property definitions
Bug Fixes
eslint-plugin: add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked
eslint-plugin: correct message for
no-unsafe-unary-minus
Features
eslint-plugin: [explicit-function-return-type] add support for typed class property definitions
eslint-plugin: [require-await] allow yielding Promise in async generators
You can read about our versioning strategy and releases on our website.
6.13.2
4 Dec 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
Note: Version bump only for package @typescript-eslint/typescript-eslint
You can read about our versioning strategy and releases on our website.
6.13.1
28 Nov 2023Default to parse all JSDoc and provide options to configure it
Bug Fixes
Default to parse all JSDoc and provide options to configure it
You can read about our versioning strategy and releases on our website.
6.13.0
27 Nov 2023typescript-estree: ensure backwards compat with pre-5.3 import attributes
Support TS 5.3
typescript-estree: pass jsDocParsingMode everywhere
Note for eslint plugin authors and other API consumers
TypeScript v5.3 shipped with a type change that was incompatible with our types. This change has been fixed and will be released in v5.3.3. Until that time you can work around this error using
skipLibCheck.Bug Fixes
typescript-estree: ensure backwards compat with pre-5.3 import attributes
Features
Support TS 5.3
typescript-estree: pass jsDocParsingMode everywhere
You can read about our versioning strategy and releases on our website.
6.12.0
20 Nov 2023eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if
ignoreClassesThatImplementAnInterfaceis seteslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type
Bug Fixes
eslint-plugin: [class-methods-use-this] detect a problematic case for private/protected members if
ignoreClassesThatImplementAnInterfaceis seteslint-plugin: [no-unnecessary-condition] fix false positive with computed member access and branded key type
eslint-plugin: [switch-exhaustiveness-check] enum members with new line or single quotes are not being fixed correctly (#7806) (a034d0a), closes #7768
utils: add missing fields to flat config types
utils: allow string processor in flat config
Features
Add accessor support for member-ordering
eslint-plugin: [switch-exhaustiveness-check] add requireDefaultForNonUnion option
You can read about our versioning strategy and releases on our website.
6.11.0
13 Nov 2023eslint-plugin: [explicit-function-return-type] support JSX attributes in
allowTypedFunctionExpressionseslint-plugin: [no-unnecessary-qualifier] handle nested namespace id
Add
no-unsafe-unary-minusrule
Bug Fixes
eslint-plugin: [explicit-function-return-type] support JSX attributes in
allowTypedFunctionExpressionseslint-plugin: [no-unnecessary-qualifier] handle nested namespace id
Features
Add
no-unsafe-unary-minusruleAdd types for flat config files
Allow typescript
5.3.0-betaasdevDependencyeslint-plugin: no-unsafe-enum-comparison handles switch cases
typescript-estree: skip
isTTYversion check if user passesloggerFnon unsupported TypeScript version warningutils: add ESLint
CodePathselector typesutils: update types to reflect
RuleContextandSourceCodechanges and deprecations
You can read about our versioning strategy and releases on our website.
6.10.0
6 Nov 2023eslint-plugin: [no-unused-vars] handle logical assignment
eslint-plugin: [require-await] add support for "await using"
eslint-plugin: [ban-ts-comments] suggest ts-expect-error over ts-ignore
Bug Fixes
eslint-plugin: [no-unused-vars] handle logical assignment
eslint-plugin: [require-await] add support for "await using"
Features
eslint-plugin: [ban-ts-comments] suggest ts-expect-error over ts-ignore
You can read about our versioning strategy and releases on our website.
6.9.1
30 Oct 2023eslint-plugin: [naming-convention] allow PascalCase for imports
eslint-plugin: [no-unused-expressions] handle TSInstantiationExpression expression
Bug Fixes
eslint-plugin: [naming-convention] allow PascalCase for imports
eslint-plugin: [no-unused-expressions] handle TSInstantiationExpression expression
You can read about our versioning strategy and releases on our website.
6.9.0
23 Oct 2023eslint-plugin: [no-confusing-void-expression] handle unfixable cases
eslint-plugin: [no-unsafe-return] allow returning anything if explicitly returning any
rule-tester: fix
parserfallback logic
Bug Fixes
eslint-plugin: [no-confusing-void-expression] handle unfixable cases
eslint-plugin: [no-unsafe-return] allow returning anything if explicitly returning any
rule-tester: fix
parserfallback logictype-utils: treat custom type roots as external
Features
eslint-plugin: [max-params] don't count
this: voidparameter (#7696) (6398d3f), closes #7538eslint-plugin: [naming-convention] add support for default and namespace imports
eslint-plugin: [no-restricted-imports] support import = require
eslint-plugin: [no-unsafe-enum-comparison] add switch suggestion (#7691) (53d5263), closes #7643
eslint-plugin: [prefer-readonly] private fields support
You can read about our versioning strategy and releases on our website.
6.8.0
16 Oct 2023eslint-plugin: [consistent-type-imports] import assertion checks added
eslint-plugin: [no-shadow] fix static class generics for class expressions
eslint-plugin: [no-unsafe-member-access] report on only the accessed property
Bug Fixes
eslint-plugin: [consistent-type-imports] import assertion checks added
eslint-plugin: [no-shadow] fix static class generics for class expressions
eslint-plugin: [no-unsafe-member-access] report on only the accessed property
eslint-plugin: [no-useless-empty-export] exempt .d.ts
Features
eslint-plugin: add new extended rule
prefer-destructuring
You can read about our versioning strategy and releases on our website.
6.7.5
9 Oct 2023eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range
Bug Fixes
eslint-plugin: [prefer-string-starts-ends-with] only report slice/substring with correct range
You can read about our versioning strategy and releases on our website.
6.7.4
2 Oct 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
Note: Version bump only for package @typescript-eslint/typescript-eslint
You can read about our versioning strategy and releases on our website.
6.7.3
25 Sep 2023utils: type portability with
RuleCreator, fix #7605
Bug Fixes
utils: type portability with
RuleCreator, fix #7605
You can read about our versioning strategy and releases on our website.
6.7.2
18 Sep 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
Note: Version bump only for package @typescript-eslint/typescript-eslint
You can read about our versioning strategy and releases on our website.
6.7.1
18 Sep 2023You can read about our versioning strategy and releases on our website.
6.7.0
11 Sep 2023eslint-plugin: [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled
eslint-plugin: [await-thenable] added suggestion fixer
Bug Fixes
eslint-plugin: [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled
Features
eslint-plugin: [await-thenable] added suggestion fixer
You can read about our versioning strategy and releases on our website.
6.6.0
4 Sep 2023eslint-plugin: [key-spacing] consider properties with parens and comments
rule-tester: allow to create empty tests
Bug Fixes
eslint-plugin: [key-spacing] consider properties with parens and comments
Features
rule-tester: allow to create empty tests
You can read about our versioning strategy and releases on our website.
6.5.0
28 Aug 2023eslint-plugin: [consistent-type-assertions] wrap object return value with parentheses
Support Explicit Resource Management syntax for TS 5.2
Bug Fixes
eslint-plugin: [consistent-type-assertions] wrap object return value with parentheses
Features
Bump supported TS version to 5.2
Support Explicit Resource Management syntax for TS 5.2
You can read about our versioning strategy and releases on our website.
6.4.0
14 Aug 2023eslint-plugin: [non-nullable-type-assertion-style] consider operator precedence when fixing
eslint-plugin: [strict-boolean-expressions] replace dangerous fixer with suggestions
typescript-estree: support
declareandexportmodifiers for nested namespace declaration
Bug Fixes
eslint-plugin: [non-nullable-type-assertion-style] consider operator precedence when fixing
eslint-plugin: [strict-boolean-expressions] replace dangerous fixer with suggestions
typescript-estree: support
declareandexportmodifiers for nested namespace declarationutils: add new properties since eslint 8.40.0
utils: add to JSONSchema4Type missing Array and Object
Features
Update to lib types for TS 5.2 RC
You can read about our versioning strategy and releases on our website.
6.3.0
7 Aug 2023eslint-plugin: [no-extra-parens] keep parens around call expression arguments when type arguments contain parens
eslint-plugin: [no-restricted-imports] allow inline type qualifiers when
allowTypeImportsenabledeslint-plugin: [prefer-nullish-coalescing] allow
ignorePrimitivesoption to betrue
Bug Fixes
eslint-plugin: [no-extra-parens] keep parens around call expression arguments when type arguments contain parens
eslint-plugin: [no-restricted-imports] allow inline type qualifiers when
allowTypeImportsenabled
Features
eslint-plugin: [prefer-nullish-coalescing] allow
ignorePrimitivesoption to betrue
You can read about our versioning strategy and releases on our website.
6.2.1
31 Jul 2023eslint-plugin: [no-inferrable-types] apply also for parameter properties
scope-manager: correct decorators(.length) check in ClassVisitor for methods
Bug Fixes
eslint-plugin: [no-inferrable-types] apply also for parameter properties
scope-manager: correct decorators(.length) check in ClassVisitor for methods
You can read about our versioning strategy and releases on our website.
6.2.0
24 Jul 2023eslint-plugin: [member-ordering] account for repeated names
eslint-plugin: [no-unsafe-enum-comparison] exempt bit shift operators
eslint-plugin: [prefer-nullish-coalescing] handle case when type of left side is null or undefined
Bug Fixes
eslint-plugin: [member-ordering] account for repeated names
eslint-plugin: [no-unsafe-enum-comparison] exempt bit shift operators
eslint-plugin: [prefer-nullish-coalescing] handle case when type of left side is null or undefined
eslint-plugin: use a default export for the rules type
typescript-estree: fix TSNode type error on old ts versions
Features
eslint-plugin: [class-methods-use-this] add extension rule
eslint-plugin: sync getFunctionHeadLoc implementation with upstream
You can read about our versioning strategy and releases on our website.
6.1.0
17 Jul 2023eslint-plugin: [comma-dangle] fixed crash from undefined predicate.ignore
eslint-plugin: [no-floating-promises] finally should be transparent to unhandled promises
Bug Fixes
eslint-plugin: [comma-dangle] fixed crash from undefined predicate.ignore
eslint-plugin: [no-floating-promises] false negative calling .then with second argument undefined (#6881) (606a52c), closes #6850
eslint-plugin: [no-floating-promises] finally should be transparent to unhandled promises
eslint-plugin: [no-unnecessary-type-constraint] correctly fix in cts/mts files
eslint-plugin: [no-unused-vars] check if any variable definition is exported (#6873) (587ac30), closes #6188
eslint-plugin: fix schemas across several rules and add schema tests
eslint-plugin: include the rules types in the package
typescript-estree: remove ts.sys watch program override
utils: accept null as default option in
applyDefault
Features
typescript-estree: add EXPERIMENTAL_useProjectService option to use TypeScript project service
You can read about our versioning strategy and releases on our website.
6.0.0
10 Jul 2023- Deprecated
eslint-plugin: Deprecate no-type-alias
- Removed
ast-spec: Remove more invalid properties
- Removed
typescript-estree: Remove optionality from AST boolean properties
See the announcement blog post for a friendly description of all changes and CHANGELOG.md for a full organized list of them. 🎉
What's Changed
Made BaseNode.parent non-optional
Remove partial type-information program
- Deprecated
eslint-plugin: Deprecate no-type-alias
typescript-estree: Wrap import = declaration in an export node
typescript-estree: Add type checker wrapper APIs to ParserServicesWithTypeInformation
Replace tsutils with ts-api-tools
Remove
experimental-utils- Removed
ast-spec: Remove more invalid properties
typescript-estree: Account for namespace nesting in AST conversion
Add package.json exports for public packages
Bumped ts-api-utils to 0.0.39
Rename typeParameters to typeArguments where needed
- Removed
typescript-estree: Remove optionality from AST boolean properties
typescript-estree: Added allowInvalidAST option to not throw on invalid tokens
Update
exportsfield in package.json filesImprove error location
typescript-estree: Throw errors on interface with implements
typescript-estree: Strict class heritage clauses check
typescript-estree: Check for illegal decorators on function declarations
typescript-estree: Throw errors for object methods without function bodies
typescript-estree: Fix error handling on
ImportExpression- Removed
Remove moduleResolver API
- Deprecated
typescript-estree: Warn on deprecated AST property accesses
typescript-estree: Check modifiers on every node
typescript-estree: Throw errors when abstract property has initializer
typescript-estree: Allow writing to deprecated node properties
typescript-estree: Forbid
overrideon non-constructor function/methodstypescript-estree: Forbid members in Mapped Type
- Breaking
Bump minimum TS to 4.3.5
Improve rule schemas, add test to validate schemas, add tooling to generate schema types
Correct handling of additionalProperties in object schemas
Add new package
rule-testerRemove
RuleTesterin/utilsin favour of the new/rule-testerpackageDrop support for node v14 and test against node v20
Fix illegal decorator check
Fork json schema types for better compat with ESLint rule validation
typescript-estree: Remove parseWithNodeMaps
- 5.x
5.62.0
10 Jul 2023eslint-plugin: [comma-spacing] allow no space after trailing comma in objects and arrays
eslint-plugin: replace auto-fix of class literal property style rule with suggestion
Bug Fixes
eslint-plugin: [comma-spacing] allow no space after trailing comma in objects and arrays
eslint-plugin: [prefer-includes] escape special characters (#7161) (5a347a5), closes #7145
eslint-plugin: replace auto-fix of class literal property style rule with suggestion
Features
eslint-plugin: [prefer-nullish-coalescing] add
ignorePrimitivesoption
You can read about our versioning strategy and releases on our website.
5.61.0
3 Jul 2023eslint-plugin: [ban-types] ban types in extends and implements
Support TypeScript 5.1
Use graphemer instead of grapheme-splitter
Features
eslint-plugin: [ban-types] ban types in extends and implements
Support TypeScript 5.1
Use graphemer instead of grapheme-splitter
You can read about our versioning strategy and releases on our website.
5.60.1
26 Jun 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
Note: Version bump only for package @typescript-eslint/typescript-eslint
You can read about our versioning strategy and releases on our website.
5.60.0
19 Jun 2023eslint-plugin: [restrict-plus-operands] add allow* options
5.59.11
12 Jun 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.59.10
12 Jun 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.59.9
5 Jun 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.59.8
29 May 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.59.7
22 May 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.59.6
15 May 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.59.5
8 May 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.59.2
1 May 2023Note: Version bump only for package @typescript-eslint/typescript-eslint
5.59.1
24 Apr 2023eslint-plugin: [prefer-regexp-exec] skip malformed regexes
eslint-plugin: [unified-signatures] no parameters function
5.59.0
17 Apr 2023eslint-plugin: [no-unnecessary-condition] allow nullish coalescing for naked type parameter
eslint-plugin: [ban-types] add NonNullable suggestion and allow custom suggestions
5.58.0
10 Apr 2023eslint-plugin: [unified-signatures] allow overloads with different named and different number of parameters
parser: update getLib for new TypeScript targets ES2021, ES2022
eslint-plugin: [no-unsafe-enum-comparison] add rule
5.57.1
3 Apr 2023eslint-plugin: [strict-boolean-expressions] support mixed enums in allowNullableEnum option
5.57.0
27 Mar 2023eslint-plugin: [no-unnecessary-boolean-literal-compare] simplify fixer and add support for double negation
eslint-plugin: correct crashes with getTypeArguments for ts < 3.7
eslint-plugin: [consistent-type-assertions] add suggestions for objectLiteralTypeAssertions
Bug Fixes
eslint-plugin: [no-unnecessary-boolean-literal-compare] simplify fixer and add support for double negation
eslint-plugin: correct crashes with getTypeArguments for ts < 3.7
Features
eslint-plugin: [consistent-type-assertions] add suggestions for objectLiteralTypeAssertions
eslint-plugin: [consistent-type-assertions] autofix angle bracket assertions to as
eslint-plugin: add
no-duplicate-type-constituentsrule
5.56.0
20 Mar 2023eslint-plugin: [member-ordering] check order when optionalityOrder is present with no optional members
eslint-plugin: [no-misused-promises] avoid unnecessary calls to getContextualType
eslint-plugin: [no-misused-promises] fix incorrect detection of void functions in JSX attributes
Bug Fixes
eslint-plugin: [member-ordering] check order when optionalityOrder is present with no optional members
eslint-plugin: [no-misused-promises] avoid unnecessary calls to getContextualType
eslint-plugin: [no-misused-promises] fix incorrect detection of void functions in JSX attributes
eslint-plugin: [strict-boolean-expression] support falsy and truthy literals simultaneously
eslint-plugin: [strict-boolean-expressions] handle truthy enums
eslint-plugin: [naming-convention] add TSPropertySignature with TSFunctionType annotation to
typeMethodselector
Features
eslint-plugin: [restrict-template-expressions] add option
allowNever
5.55.0
13 Mar 2023eslint-plugin: [no-confusing-void-expression] check sequence expressions for void is in last position
eslint-plugin: [no-unnecessary-boolean-literal-compare] fixer should handle parentheses
eslint-plugin: [lines-around-comment] add extension rule
Bug Fixes
eslint-plugin: [no-confusing-void-expression] check sequence expressions for void is in last position
eslint-plugin: [no-unnecessary-boolean-literal-compare] fixer should handle parentheses
Features
eslint-plugin: [lines-around-comment] add extension rule
eslint-plugin: [member-ordering] add support for grouping readonly fields
eslint-plugin: [no-unnecessary-cond] check logical assignments
parser: add exported meta object
typescript-estree: support
constmodifiers for type parametersUpdate TypeScript to 5.0 RC
Use @eslint-community dependencies
5.54.1
6 Mar 2023typescript-estree: do not call export of clearProgramCache
5.54.0
27 Feb 2023typescript-estree: check for relative/root paths in printing file path errors
5.53.0
20 Feb 2023eslint-plugin: [consistent-generic-constructors] handle default parameters
eslint-plugin: [no-mixed-enums] add rule
typescript-estree: expose a wrapper cache clearing function for advanced usecases
5.52.0
13 Feb 2023eslint-plugin: [no-import-type-side-effects] correctly ignore zero-specifier imports
eslint-plugin: [no-unnecessary-condition] fix false positive when checking indexed access types
Bug Fixes
eslint-plugin: [no-import-type-side-effects] correctly ignore zero-specifier imports
eslint-plugin: [no-unnecessary-condition] account for optional chaining on potentially void values (#6432) (e1d9c67), closes #5255
eslint-plugin: [no-unnecessary-condition] fix false positive when checking indexed access types
eslint-plugin: fix key-spacing when type starts on next line
Features
eslint-plugin: [block-spacing] extending base rule for TS related blocks
eslint-plugin: [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option
eslint-plugin: [explicit-function-return-type] add allowIIFEs option
typescript-estree: add
.kindtoTSModuleDeclarationtypescript-estree: allow specifying project: true
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.