Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v5.30.7
5.30.7 (2022-07-18)
Bug Fixes
- eslint-plugin: [no-inferrable] fix optional param to valid code (#5342) (98f6d5e)
- eslint-plugin: [no-unused-vars] highlight last write reference (#5267) (c3f199a)
- expose types supporting old versions of typescript (#5339) (4ba9bdb)
- scope-manager: allow visiting of constraint in infer type (#5331) (b2846a1)
v5.30.6
5.30.6 (2022-07-11)
Note: Version bump only for package @typescript-eslint/typescript-eslint
v5.30.5
5.30.5 (2022-07-04)
Bug Fixes
- eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#5280) (57f032c)
- eslint-plugin: [no-base-to-string] add missing apostrophe to message (#5270) (d320174)
v5.30.0
5.30.0 (2022-06-27)
Features
- eslint-plugin: [no-shadow] add shadowed variable location to the error message (#5183) (8ca08e9)
- treat
this
in typeof this
as a ThisExpression
(#4382) (b04b2ce)
v5.29.0
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.
v5.28.0
5.28.0 (2022-06-13)
Bug Fixes
- [TS4.7] allow visiting of typeParameters in TSTypeQuery (#5166) (dc1f930)
- eslint-plugin: [space-infix-ops] support for optional property without type (#5155) (1f25daf)
Features
- ast-spec: extract
AssignmentOperatorToText
(#3570) (45f75e6)
- eslint-plugin: [consistent-generic-constructors] add rule (#4924) (921cdf1)
v5.27.1
5.27.1 (2022-06-06)
Bug Fixes
- eslint-plugin: [space-infix-ops] correct PropertyDefinition with typeAnnotation (#5113) (d320174)
- eslint-plugin: [space-infix-ops] regression fix for conditional types (#5135) (e5238c8)
- eslint-plugin: [space-infix-ops] regression fix for type aliases (#5138) (4e13deb)
v5.27.0
5.27.0 (2022-05-30)
Bug Fixes
- eslint-plugin: [no-type-alias] handle Template Literal Types (#5092) (8febf11)
- types: remove leftovers from removal of useJSXTextNode (#5091) (f9c3647)
Features
- [4.7] support new extensions (#5027) (efc147b)
- [TS4.7] support type parameters for
typeof
(#5067) (836de79)
- bump dependency ranges to TypeScript 4.7 (#5082) (c4310b1)
- eslint-plugin: [ban-ts-comment] add descriptionFormat option (#5026) (1fb31a4)
- eslint-plugin: [no-misused-promises] warn when spreading promises (#5053) (61ffa9e)
- eslint-plugin: [space-infix-ops] missing error report for conditional types (#5041) (0bfab6c)
v5.26.0
5.26.0 (2022-05-23)
Bug Fixes
- ast-spec: add
SpreadElement
to ArrayExpression.elements
(#5025) (9f3121b)
- eslint-plugin: [member-delimiter-style] autofixer result is not as expected when comments after the delimiter with option
delimiter: 'none'
(#5029) (ed7b5f6)
- eslint-plugin: [member-delimiter-style] autofixer result is not as expected with option
delimiter: 'none'
(#5023) (9e97a11)
- eslint-plugin: [prefer-readonly] correct issue with anonymus functions (#4974) (952e2f0), closes #2590
Features
- [TS4.7] support instantiation expressions (#4938) (79fbc77)
- [TS4.7] support optional variance annotation (#4831) (7e7b24c)
- [TS4.7] support
extends
constraints for infer
(#4830) (8cbbcc3)
v5.25.0
5.25.0 (2022-05-17)
Bug Fixes
- eslint-plugin: [typedef] stop enforcing rule for assignment expressions (#4958) (04a216c)
- eslint-plugin: strict config should not extend recommended (#5005) (05d71c2)
- website: correct Presets link to be Configs (#5004) (e18e91c)
Features
- eslint-plugin: [no-empty-function] new allow option overrideMethods (#4923) (13c05ae)
- eslint-plugin: deprecate
no-duplicate-imports
in favour of import/no-duplicates
(#4973) (1d2e41a)
- update to TypeScript 4.7-rc (#4829) (6fe783c)