Skip to content

Releases: typescript-eslint/typescript-eslint

v5.59.1

24 Apr 17:15
Compare
Choose a tag to compare

5.59.1 (2023-04-24)

Bug Fixes

  • eslint-plugin: [prefer-regexp-exec] skip malformed regexes (#6935) (05ed60e)
  • eslint-plugin: [unified-signatures] no parameters function (#6940) (2970861)

v5.59.0

17 Apr 17:16
Compare
Choose a tag to compare

5.59.0 (2023-04-17)

Bug Fixes

  • eslint-plugin: [no-unnecessary-condition] allow nullish coalescing for naked type parameter (#6910) (3e5f858)

Features

  • eslint-plugin: [ban-types] add NonNullable suggestion and allow custom suggestions (#6876) (ff65235)

v5.58.0

10 Apr 17:15
Compare
Choose a tag to compare

5.58.0 (2023-04-10)

Bug Fixes

  • eslint-plugin: [unified-signatures] allow overloads with different named and different number of parameters (#6877) (939d665)
  • parser: update getLib for new TypeScript targets ES2021, ES2022 (#6782) (1c04664)

Features

  • eslint-plugin: [no-unsafe-enum-comparison] add rule (#6107) (915f9c2)

v5.57.1

03 Apr 17:15
Compare
Choose a tag to compare

5.57.1 (2023-04-03)

Bug Fixes

  • eslint-plugin: [strict-boolean-expressions] support mixed enums in allowNullableEnum option (#6740) (49be8a8)

v5.57.0

27 Mar 17:16
Compare
Choose a tag to compare

5.57.0 (2023-03-27)

Bug Fixes

  • eslint-plugin: [no-unnecessary-boolean-literal-compare] simplify fixer and add support for double negation (#6620) (81c8519)
  • eslint-plugin: correct crashes with getTypeArguments for ts < 3.7 (#6767) (59eab58)

Features

  • eslint-plugin: [consistent-type-assertions] add suggestions for objectLiteralTypeAssertions (#6642) (720e811)
  • eslint-plugin: [consistent-type-assertions] autofix angle bracket assertions to as (#6641) (ad8ea64)
  • eslint-plugin: add no-duplicate-type-constituents rule (#5728) (bc31078)

v5.56.0

20 Mar 17:17
Compare
Choose a tag to compare

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

  • eslint-plugin: [restrict-template-expressions] add option allowNever (#6554) (423f164)

v5.55.0

13 Mar 17:16
Compare
Choose a tag to compare

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

v5.54.1

06 Mar 17:17
Compare
Choose a tag to compare

5.54.1 (2023-03-06)

Bug Fixes

  • typescript-estree: do not call export of clearProgramCache (#6540) (181e705)

v5.54.0

27 Feb 17:16
Compare
Choose a tag to compare

5.54.0 (2023-02-27)

Bug Fixes

  • typescript-estree: check for relative/root paths in printing file path errors (#6491) (dc14242)
  • website: corect playground build issue (#6506) (6aad7d3)

Features

  • eslint-plugin: [promise-function-async] check for promises in implicit return types (#6330) (de1e5ce), closes #6329

v5.53.0

20 Feb 17:18
Compare
Choose a tag to compare

5.53.0 (2023-02-20)

Features

  • eslint-plugin: [consistent-generic-constructors] handle default parameters (#6484) (e8cebce)
  • eslint-plugin: [no-mixed-enums] add rule (#6102) (16144d1)
  • typescript-estree: expose a wrapper cache clearing function for advanced usecases (#6476) (d816496)