Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
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)
v5.24.0
5.24.0 (2022-05-16)
Bug Fixes
- eslint-plugin: [array-type] in fixer add missing parens for constructor types #4756 (#4971) (0377070)
- website: missing colon before tip notes in configs.md (#4982) (f3a1aba)
Features
- eslint-plugin: Add BigInt object type to default ban-types list (#4970) (1867728)
- eslint-plugin: add new 'strict' config (#4706) (4a500b2)
v5.23.0
5.23.0 (2022-05-09)
Bug Fixes
- ast-spec: correct
AwaitExpression.argument
type (#4880) (3ec5f53)
- eslint-plugin: [no-restricted-imports] allow type import as long as there's one matching pattern (#4898) (0419d28)
- eslint-plugin: [no-unnecessary-type-constraint] change to suggestion fix, fix multiple trailing comma failures (#4901) (4507ac8)
Features
v5.22.0
5.22.0 (2022-05-02)
Bug Fixes
- eslint-plugin: [comma-spacing] verify
nextToken
exists (#4868) (23746f8)
Features
- ast-spec: add fixture test framework and some initial fixtures (#3258) (f3cf87b)
- eslint-plugin: [no-duplicate-enum-values] add rule (#4833) (5899164)
v5.21.0
5.21.0 (2022-04-25)
Bug Fixes
- eslint-plugin: [no-misused-promises] prioritize false returns when checking whether a function returns only void (#4841) (ccadb60)
- eslint-plugin: [no-namespace] fix false positive for exported namespaces when allowDeclarations=true (#4844) (4e7c9be)
- eslint-plugin: [space-infix-ops] fix no error when right type is function (#4848) (d74d559)
Features
- eslint-plugin: [parameter-properties] add rule to replace
no-parameter-properties
(#4622) (88ed9ec)
v5.20.0
5.20.0 (2022-04-18)
Features
- eslint-plugin: [no-magic-numbers] ignoreTypeIndexes option (#4789) (5e79451)