@typescript-eslint/eslint-plugin
8.72.1 · 26 Oct 2026MIT172.4M / weekRepositoryHomepagenpmAtom feed
414 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 6.x
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 2023Reading the note…
6.13.1
28 Nov 2023Reading the note…
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 2023Reading the note…
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 2023Reading the note…
6.7.4
2 Oct 2023Reading the note…
6.7.3
25 Sep 2023Reading the note…
6.7.2
18 Sep 2023Reading the note…
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.1
21 Aug 2023Reading the note…
6.4.0
14 Aug 2023Reading the note…
6.3.0
7 Aug 2023Reading the note…
6.2.1
31 Jul 2023Reading the note…
6.2.0
24 Jul 2023Reading the note…
6.1.0
17 Jul 2023Reading the note…
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
experimental-utils: Console.warn on import of experimental-utils
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
eslint-plugin: Rework configs: recommended, strict, stylistic; -type-checked
Remove
experimental-utils- removed
ast-spec: Remove more invalid properties
eslint-plugin: Add config that disables type-aware linting
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
eslint-plugin: Allow parser@^6.0.0
typescript-estree: Check modifiers on every node
typescript-estree: Throw errors when abstract property has initializer
typescript-estree: Allow writing to deprecated node properties
eslint-plugin: [prefer-readonly-parameter-types] added an optional type allowlist
typescript-estree: Forbid
overrideon non-constructor function/methodstypescript-estree: Forbid members in Mapped Type
type-utils: Checking of type aliases' type names by
typeMatchesSpecifier- breaking
Bump minimum TS to 4.3.5
type-utils: Fixed TypeOrValueSpecifier not accounting for scoped DT packages
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
eslint-plugin: [restrict-plus-operands] change checkCompoundAssignments to skipCompoundAssignments
type-utils: File variant of TypeOrValueSpecifier uses canonical filenames instead of lowercasing
Fix illegal decorator check
Fork json schema types for better compat with ESLint rule validation
eslint-plugin: Apply final v6 changes to configs
typescript-estree: Remove parseWithNodeMaps
eslint-plugin: Final final config changes for v6
eslint-plugin: [prefer-optional-chain] handle cases where the first operands are unrelated to the rest of the chain and add type info
type-utils: Treat intrinsic types as if they are from lib and never match error types
- 5.x
5.62.0
10 Jul 2023Reading the note…
5.61.0
3 Jul 2023Reading the note…
5.60.1
26 Jun 2023Reading the note…
5.60.0
19 Jun 2023Reading the note…
5.59.11
12 Jun 2023Reading the note…
5.59.10
12 Jun 2023Reading the note…
5.59.9
5 Jun 2023Reading the note…
5.59.8
29 May 2023Reading the note…
5.59.7
22 May 2023Reading the note…
5.59.6
15 May 2023Reading the note…
5.59.5
8 May 2023Reading the note…
5.59.2
1 May 2023Reading the note…
5.59.1
24 Apr 2023Reading the note…
5.59.0
17 Apr 2023Reading the note…
5.58.0
10 Apr 2023Reading the note…
5.57.1
3 Apr 2023Reading the note…
5.57.0
27 Mar 2023Reading the note…
5.56.0
20 Mar 2023Reading the note…
5.55.0
13 Mar 2023Reading the note…
5.54.1
6 Mar 2023Reading the note…
5.54.0
27 Feb 2023Reading the note…
5.53.0
20 Feb 2023Reading the note…
5.52.0
13 Feb 2023Reading the note…
5.51.0
6 Feb 2023Reading the note…
5.50.0
31 Jan 2023Reading the note…
5.49.0
23 Jan 2023Reading the note…