typescript-eslint

Monorepo for all the tooling which enables ESLint to support TypeScript

OTHER License

Downloads
1.4B
Stars
14.5K
Committers
682

Bot releases are hidden (Show)

typescript-eslint -

Published by JamesHenry 8 months ago

7.2.0 (2024-03-11)

🚀 Features

  • support TS 5.4 (#8630)
  • eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option (#8374)

🩹 Fixes

  • eslint-plugin: expose *-type-checked-only configs for extension (#8600)
  • eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group (#8263)
  • eslint-plugin: [no-var-requires, no-require-imports] support template literal (#8408)
  • eslint-plugin: [no-useless-template-literals] detect TemplateLiteral (#8575)
  • eslint-plugin: [no-unnecessary-condition] handle union array and tuple type (#8592)
  • eslint-plugin: [prefer-find] support ternary branches in prefer-find (#8421)
  • typescript-eslint: set sourceType: "module" in base shared config (#8622)
  • typescript-eslint: export ConfigWithExtends type (#8621)

❤️ Thank You

  • Arka Pratim Chaudhuri @arka1002
  • auvred @auvred
  • Chris Plummer
  • Fotis Papadogeorgopoulos @fpapado
  • Josh Goldberg ✨
  • Kirk Waiblinger @kirkwaiblinger
  • Wayne Zhang
  • YeonJuan @yeonjuan

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

typescript-eslint - v5.30.0

Published by JamesHenry over 2 years ago

5.30.0 (2022-06-27)

Features

  • eslint-plugin: [no-shadow] add shadowed variable location to the error message (#5183) (8ca08e9)
  • treat this in typeof this as a ThisExpression (#4382) (b04b2ce)
typescript-eslint - v5.29.0

Published by JamesHenry over 2 years ago

Note: Version bump only for weekly release.

Unfortunately we marked a website change as a feat, hence this wasn't just a patch-level bump.

typescript-eslint - v5.28.0

Published by JamesHenry over 2 years ago

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)
typescript-eslint - v5.27.1

Published by JamesHenry over 2 years ago

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)
typescript-eslint - v5.27.0

Published by JamesHenry over 2 years ago

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)
typescript-eslint - v5.26.0

Published by JamesHenry over 2 years ago

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)
typescript-eslint - v5.25.0

Published by JamesHenry over 2 years ago

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)
typescript-eslint - v5.24.0

Published by JamesHenry over 2 years ago

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)
typescript-eslint - v5.23.0

Published by JamesHenry over 2 years ago

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

typescript-eslint - v5.22.0

Published by JamesHenry over 2 years ago

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)
typescript-eslint - v5.21.0

Published by JamesHenry over 2 years ago

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)
typescript-eslint - v5.20.0

Published by JamesHenry over 2 years ago

5.20.0 (2022-04-18)

Features

  • eslint-plugin: [no-magic-numbers] ignoreTypeIndexes option (#4789) (5e79451)
typescript-eslint - v5.19.0

Published by JamesHenry over 2 years ago

5.19.0 (2022-04-11)

Bug Fixes

  • eslint-plugin: update code to use estree range instead of ts pos/end #4723 (#4790) (a1e9fc4)

Features

  • eslint-plugin: [unified-signatures] add ignoreDifferentlyNamedParameters option (#4659) (fdf95e0)
  • eslint-plugin: add support for valid number and bigint intersections in restrict-plus-operands rule (#4795) (19c600a)
typescript-eslint - v5.18.0

Published by JamesHenry over 2 years ago

5.18.0 (2022-04-04)

Bug Fixes

  • eslint-plugin: method-signature-style respect getter signature (#4777) (12dd670)
  • visitor-keys: add missing visitor keys (#4731) (bb575a0)

Features

  • eslint-plugin: [no-shadow] ignoreOnInitialization option (#4603) (068ea9b)
  • eslint-plugin: [no-this-alias] report on assignment expressions (#4718) (8329498)
typescript-eslint - v5.17.0

Published by JamesHenry over 2 years ago

5.17.0 (2022-03-28)

Features

  • eslint-plugin: [no-unused-vars] add destructuredArrayIgnorePattern options (#4748) (6f8db8b)
typescript-eslint - v5.16.0

Published by JamesHenry over 2 years ago

5.16.0 (2022-03-21)

Bug Fixes

  • eslint-plugin: [consistent-type-assertions] enforce assertionStyle for const assertions (#4685) (8ec05be)
  • scope-manager: incorrect reference for this within a jsx identifier (#4535) (dd49280)
  • utils: RuleTester: Only call afterAll if defined (#4656) (0fe0683)

Features

  • eslint-plugin: [prefer-optional-chain] support logical with empty object (#4430) (d21cfe0)
typescript-eslint - v5.15.0

Published by JamesHenry over 2 years ago

5.15.0 (2022-03-14)

Features

  • parser: add parserOptions.emitDecoratorMetadata (#4646) (e3dd343)
typescript-eslint - v5.14.0

Published by JamesHenry over 2 years ago

5.14.0 (2022-03-07)

Bug Fixes

  • eslint-plugin: [naming-convention] cover case that requires quotes (#4582) (3ea0947)
  • eslint-plugin: [no-misused-promises] factor thenable returning function overload signatures (#4620) (56a09e9)
  • eslint-plugin: [prefer-readonly-parameter-types] handle class sharp private field and member without throwing error (#4343) (a65713a)
  • eslint-plugin: [return-await] correct autofixer in binary expression (#4401) (5fa2fad)

Features

  • eslint-plugin: [no-misused-promises] add granular options within checksVoidReturns (#4623) (1085177)
  • TypeScript 4.6 (#4615) (a02c63a)
typescript-eslint - v5.13.0

Published by JamesHenry over 2 years ago

5.13.0 (2022-02-28)

Bug Fixes

  • eslint-plugin: [sort-type-union-intersection-members] Wrap the constructorType in parentheses (#4590) (851bb90)

Features

  • eslint-plugin: [no-misused-promises] check more places for checksVoidReturn (#4541) (052cf51)
  • eslint-plugin: add no-redundant-type-constituents rule (#4378) (63d051e)
  • eslint-plugin: add no-useless-empty-export rule (#4380) (823b945)
  • eslint-plugin: add extension rule space-before-blocks (#1606) (#4184) (208b6d0)
  • eslint-plugin: added member group support to member-ordering rule (#4538) (6afcaea)
  • utils: expose ast-utils' helpers (#4503) (f106e4b)
  • utils: extract isNotTokenOfTypeWithConditions out of ast-utils' predicates (#4502) (66501d6)