Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v5.54.1
v5.54.0
v5.53.0
v5.52.0
5.52.0 (2023-02-13)
Bug Fixes
- eslint-plugin: [no-import-type-side-effects] correctly ignore zero-specifier imports (#6444) (d5a6688)
- 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 (#6452) (d569924)
- eslint-plugin: fix key-spacing when type starts on next line (#6412) (3eb2eed)
Features
- eslint-plugin: [block-spacing] extending base rule for TS related blocks (#6195) (b2db3f5)
- eslint-plugin: [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option (#6105) (113640e)
- eslint-plugin: [explicit-function-return-type] add allowIIFEs option (#6237) (a1b3f7b)
- typescript-estree: add
.kind
toTSModuleDeclaration
(#6443) (2f948df) - typescript-estree: allow specifying project: true (#6084) (dcd05f0)
v5.51.0
5.51.0 (2023-02-06)
Bug Fixes
- eslint-plugin: [sort-type-constituents] fixed behavior change (#6384) (5bf7f7f), closes #6339
- eslint-plugin: do not use .at(), Node 14 does not support it (#6402) (077ed1b)
Features
- eslint-plugin: [naming-convention] improve performance by removing unnecessary selectors (#6376) (3647a1c)
- eslint-plugin: [no-floating-promises] error on logical expression (#6356) (f330e06)
- eslint-plugin: [no-import-type-side-effects] add rule to warn against runtime side effects with
verbatimModuleSyntax
(#6394) (b14d3be) - eslint-plugin: [strict-boolean-expressions] add allow nullable enum to strict boolean expressions (#6096) (d4747cd)
- typescript-estree: cache project glob resolution (#6367) (afae837)
v5.50.0
5.50.0 (2023-01-31)
Bug Fixes
- ast-spec: a JSXEmptyExpression is not a possible JSXExpression (#6321) (4b27777)
- eslint-plugin: [ban-ts-comment] counts graphemes instead of
String.prototype.length
(#5704) (09d57ce) - eslint-plugin: [prefer-optional-chain] fix
ThisExpression
andPrivateIdentifier
errors (#6028) (85e783c) - eslint-plugin: [prefer-optional-chain] fixer produces wrong logic (#5919) (b0f6c8e), closes #1438