Skip to content

Releases: typescript-eslint/typescript-eslint

v6.1.0

17 Jul 17:16
Compare
Choose a tag to compare

6.1.0 (2023-07-17)

Bug Fixes

  • eslint-plugin: [comma-dangle] fixed crash from undefined predicate.ignore (#7223) (d368164)
  • eslint-plugin: [no-floating-promises] false negative calling .then with second argument undefined (#6881) (606a52c), closes #6850
  • eslint-plugin: [no-floating-promises] finally should be transparent to unhandled promises (#7092) (2a4421c)
  • eslint-plugin: [no-unnecessary-type-constraint] correctly fix in cts/mts files (#6795) (1404796)
  • eslint-plugin: [no-unused-vars] check if any variable definition is exported (#6873) (587ac30), closes #6188
  • eslint-plugin: fix schemas across several rules and add schema tests (#6947) (dd31bed)
  • eslint-plugin: include the rules types in the package (#7215) (a3da11d)
  • typescript-estree: remove ts.sys watch program override (#7252) (41d6e9d)
  • utils: accept null as default option in applyDefault (#6724) (841889f)

Features

  • typescript-estree: add EXPERIMENTAL_useProjectService option to use TypeScript project service (#6754) (6d3d162)

You can read about our versioning strategy and releases on our website.

v6.0.0

10 Jul 17:59
Compare
Choose a tag to compare

See the announcement blog post for a friendly description of all changes and CHANGELOG.md for a full organized list of them. 🎉

What's Changed

  • feat: made BaseNode.parent non-optional by @JoshuaKGoldberg in #5252
  • feat(experimental-utils): console.warn on import of experimental-utils by @kball in #6179
  • chore(eslint-plugin): remove deprecated rules for v6 by @JoshuaKGoldberg in #6112
  • feat: remove partial type-information program by @bradzacher in #6066
  • chore(typescript-estree): remove unnecessary this.inTypeMode field by @bradzacher in #6375
  • feat(eslint-plugin): deprecate no-type-alias by @JoshuaKGoldberg in #6229
  • chore(typescript-estree): remove visitor-keys backwards compat export by @JoshuaKGoldberg in #6242
  • fix(typescript-estree): wrap import = declaration in an export node by @JoshuaKGoldberg in #5885
  • feat(typescript-estree): add type checker wrapper APIs to ParserServicesWithTypeInformation by @JoshuaKGoldberg in #6404
  • fix: replace tsutils with ts-api-tools by @JoshuaKGoldberg in #6428
  • feat: bump ts-api-utils to v0.0.21 by @bradzacher in #6459
  • feat(eslint-plugin): rework configs: recommended, strict, stylistic; -type-checked by @JoshuaKGoldberg in #5251
  • feat: remove experimental-utils by @bradzacher in #6468
  • fix(ast-spec): remove more invalid properties by @JoshuaKGoldberg in #6243
  • feat(eslint-plugin): add config that disables type-aware linting by @bradzacher in #6470
  • chore: update downlevel-dts config to target TS4.2 by @bradzacher in #6471
  • feat: bump ts-api-utils to v0.0.22 by @bradzacher in #6472
  • chore: cleanup repo lint + typechecking by @bradzacher in #6473
  • test: allow to execute tests on windows by @armano2 in #6488
  • fix(typescript-estree): account for namespace nesting in AST conversion by @JoshuaKGoldberg in #6272
  • feat: add package.json exports for public packages by @bradzacher in #6458
  • fix: bumped ts-api-utils to 0.0.39 by @JoshuaKGoldberg in #6497
  • fix: rename typeParameters to typeArguments where needed by @JoshuaKGoldberg in #5384
  • feat(typescript-estree): remove optionality from AST boolean properties by @JoshuaKGoldberg in #6274
  • chore: remove no-longer-necessary ts-api-utils package patch by @JoshuaKGoldberg in #6526
  • test(ast-spec): snapshot codeframe of error by @fisker in #6555
  • feat(typescript-estree): added allowInvalidAST option to not throw on invalid tokens by @JoshuaKGoldberg in #6247
  • fix: update exports field in package.json files by @fisker in #6550
  • feat: improve error location by @fisker in #6556
  • feat(typescript-estree): throw errors on interface with implements by @fisker in #6551
  • feat(typescript-estree): strict class heritage clauses check by @fisker in #6576
  • feat(typescript-estree): check for illegal decorators on function declarations by @fisker in #6590
  • feat(typescript-estree): throw errors for object methods without function bodies by @fisker in #6589
  • fix(typescript-estree): fix error handling on ImportExpression by @fisker in #6587
  • feat: remove moduleResolver API by @bradzacher in #6609
  • feat(typescript-estree): warn on deprecated AST property accesses by @JoshuaKGoldberg in #6525
  • fix(eslint-plugin): allow parser@^6.0.0 by @JoshuaKGoldberg in #6630
  • feat(typescript-estree): check modifiers on every node by @fisker in #6615
  • feat(typescript-estree): throw errors when abstract property has initializer by @fisker in #6613
  • chore: bump ts-api-utils to v0.0.44 by @bradzacher in #6659
  • fix(typescript-estree): allow writing to deprecated node properties by @JoshuaKGoldberg in #6670
  • feat(eslint-plugin): [prefer-readonly-parameter-types] added an optional type allowlist by @marekdedic in #4436
  • fix(typescript-estree): forbid override on non-constructor function/methods by @fisker in #6729
  • chore(website): migrate from lzstring.ts to lz-string package by @armano2 in #6727
  • chore(website): [playground] regression fix for parsing comments by @armano2 in #6768
  • chore(website): [playground] add tabs to ast viewer and update design by @armano2 in #6735
  • chore(website): [playground] improve design of error viewer by @armano2 in #6738
  • chore(website): [playground] update options selector by @armano2 in #6736
  • chore(website): add stylelint and fix css issues by @armano2 in #6779
  • chore(website): [playground] drop support for typescript v3 by @armano2 in #6775
  • chore(website): update build script to use esbuild instead of rollup by @armano2 in #6716
  • feat(typescript-estree): forbid members in Mapped Type by @fisker in #6802
  • fix(type-utils): checking of type aliases' type names by typeMatchesSpecifier by @RebeccaStevens in #6820
  • chore(website): [playground] add copy as json and simplify ast viewer by @armano2 in #6728
  • chore(website): [playground] allow to choose file extensions by @armano2 in #6785
  • chore(website): [playground] add support for extends in eslint config by @armano2 in #6796
  • chore(website): add stylelint job in ci by @juank1809 in #6800
  • chore(website): [playground] inline visual editor instead of showing modal by @armano2 in #6813
  • chore: correct v6 stylelint action error by @armano2 in #6837
  • chore(website): add documentation comments to various functions by @armano2 in #6840
  • chore(website): [playground] use languageService for linting code by @armano2 in #6806
  • chore: simplify getLocFor by @fisker in #6733
  • chore(website): validate rule options in editor by @armano2 in #6907
  • chore(website): [playground] option to disable scroll and display tokens by @armano2 in #6863
  • chore: bump minimum TS to 4.3.5 by @bradzacher in #6923
  • fix(type-utils): fixed TypeOrValueSpecifier not accounting for scoped DT packages by @marekdedic in #6780
  • chore: update ts-api-utils to v46 by @bradzacher in #6925
  • chore(website): improve error handling by @armano2 in #6929
  • chore: remove duplicated and un...
Read more

v5.62.0

10 Jul 17:17
Compare
Choose a tag to compare

5.62.0 (2023-07-10)

Bug Fixes

  • eslint-plugin: [comma-spacing] allow no space after trailing comma in objects and arrays (#6938) (24bdacc)
  • eslint-plugin: [prefer-includes] escape special characters (#7161) (5a347a5), closes #7145
  • eslint-plugin: replace auto-fix of class literal property style rule with suggestion (#7054) (a8c824a)

Features

  • eslint-plugin: [prefer-nullish-coalescing] add ignorePrimitives option (#6487) (6edaa04)

You can read about our versioning strategy and releases on our website.

v5.61.0

03 Jul 17:17
Compare
Choose a tag to compare

5.61.0 (2023-07-03)

Features

  • eslint-plugin: [ban-types] ban types in extends and implements (#7129) (997783f)
  • support TypeScript 5.1 (#7088) (4bf2d73)
  • use graphemer instead of grapheme-splitter (#7069) (faea3ff)

You can read about our versioning strategy and releases on our website.

v5.60.1

26 Jun 17:16
Compare
Choose a tag to compare

5.60.1 (2023-06-26)

Note: Version bump only for package @typescript-eslint/typescript-eslint

You can read about our versioning strategy and releases on our website.

v5.60.0

19 Jun 17:14
Compare
Choose a tag to compare

5.60.0 (2023-06-19)

Features

  • eslint-plugin: [restrict-plus-operands] add allow* options (#6161) (def09f8)

v5.59.11

12 Jun 18:00
Compare
Choose a tag to compare

5.59.11 (2023-06-12)

Note: Version bump only for package @typescript-eslint/typescript-eslint

v5.59.10

12 Jun 17:15
Compare
Choose a tag to compare

5.59.10 (2023-06-12)

Note: Version bump only for package @typescript-eslint/typescript-eslint

v5.59.9

05 Jun 17:55
Compare
Choose a tag to compare

5.59.9 (2023-06-05)

Note: Version bump only for package @typescript-eslint/typescript-eslint

v5.59.8

29 May 17:15
Compare
Choose a tag to compare

5.59.8 (2023-05-29)

Note: Version bump only for package @typescript-eslint/typescript-eslint