Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v5.56.0
5.56.0 (2023-03-20)
Bug Fixes
- eslint-plugin: [member-ordering] check order when optionalityOrder is present with no optional members (#6619) (6aff431)
- eslint-plugin: [no-misused-promises] avoid unnecessary calls to getContextualType (#6193) (745cfe4)
- eslint-plugin: [no-misused-promises] fix incorrect detection of void functions in JSX attributes (#6638) (9e41cee)
- eslint-plugin: [strict-boolean-expression] support falsy and truthy literals simultaneously (#6672) (62ef487)
- eslint-plugin: [strict-boolean-expressions] handle truthy enums (#6618) (0d0639f)
- eslint-plugin: [naming-convention] add TSPropertySignature with TSFunctionType annotation to
typeMethod
selector (#6645) (3fc5c63)
Features
v5.55.0
5.55.0 (2023-03-13)
Bug Fixes
- eslint-plugin: [no-confusing-void-expression] check sequence expressions for void is in last position (#6597) (d73d7d3)
- eslint-plugin: [no-unnecessary-boolean-literal-compare] fixer should handle parentheses (#6569) (2d8c196)
Features
- eslint-plugin: [lines-around-comment] add extension rule (#5327) (d55211c)
- eslint-plugin: [member-ordering] add support for grouping readonly fields (#6349) (9d3bdfc)
- eslint-plugin: [no-unnecessary-cond] check logical assignments (#6594) (dbc203a)
- parser: add exported meta object (#6586) (d05c3d8)
- typescript-estree: support
const
modifiers for type parameters (#6600) (f3c6373) - update TypeScript to 5.0 RC (#6570) (36ef0e1)
- use @eslint-community dependencies (#6603) (5f6ed73)
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