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 - v4.32.0

Published by JamesHenry about 3 years ago

4.32.0 (2021-09-27)

Bug Fixes

  • eslint-plugin: [consistent-type-definitions] correct fix for export default (#3899) (ebb33ed)
  • eslint-plugin: [no-require-imports] report only global require (#3871) (8aa87a1)
  • eslint-plugin: [no-shadow] ignore type-only imports properly (#3868) (dda9cee)
  • eslint-plugin: [no-var-requires] report problems within NewExpression (#3884) (ed5e459)
  • eslint-plugin: [padding-line-between-statements] problems within namespaces not being reported (#3869) (1861356)
  • eslint-plugin: [prefer-regexp-exec] respect flags when using RegExp (#3855) (ffdb5ff)
  • eslint-plugin: [prefer-return-this-type] handle generics properly in fixer (#3852) (9e98b8f)
  • eslint-plugin: false-positive/negative with array index in no-unnecessary-condition (#3805) (bdb8f0b)
  • experimental-utils: add missing signature for isParenthesized (#3887) (806eaac)

Features

  • eslint-plugin: [no-type-alias]: add allowGenerics option (#3865) (4195919)
  • eslint-plugin: add no-non-null-asserted-nullish-coalescing rule (#3349) (4e99961)
  • eslint-plugin: add new extended rule no-restricted-imports (#3775) (ec5d506)
  • eslint-plugin-internal: [prefer-ast-types-enum] add DefinitionType enum (#3916) (13b7de5)
  • Support 'latest' as ecmaVersion (#3873) (25a42c0)
typescript-eslint - v4.31.2

Published by JamesHenry about 3 years ago

4.31.2 (2021-09-20)

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

typescript-eslint - v4.31.1

Published by JamesHenry about 3 years ago

4.31.1 (2021-09-13)

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

typescript-eslint - v4.31.0

Published by JamesHenry about 3 years ago

4.31.0 (2021-09-06)

Bug Fixes

  • ast-spec: remove duplicate union types from Expression (#3770) (463e768)
  • utils: support immutable arrays in ReportFixFunction (#3830) (8218055)

Features

  • eslint-plugin: [prefer-readonly-parameter-types] add option treatMethodsAsReadonly (#3733) (a46e318)
  • eslint-plugin: [restrict-template-expressions] add option to allow RegExp (#3709) (363b3dc)
  • eslint-plugin: add no-meaningless-void-operator rule (#3641) (ea40ab6)
  • eslint-plugin: add extension rule padding-line-between-statements (#3418) (f79ae9b)
  • experimental-utils: extract isNodeOfType out of ast-utils' predicates (#3677) (4bfa437)
typescript-eslint - v4.30.0

Published by JamesHenry about 3 years ago

4.30.0 (2021-08-30)

Bug Fixes

  • eslint-plugin: [dot-notation] false positive with optional chaining (#3711) (c19fc6e), closes #3510
  • eslint-plugin: [prefer-reduce-type-parameter] handle already existing type params (#3706) (71dd273)
  • eslint-plugin: isTypeReadonly error with <TS3.7 (#3731) (5696407)
  • visitor-keys: add key to StaticBlock (v5) (#3812) (fa35e22)

Features

  • experimental-utils: add literal types to global option (#3634) (820965c)
  • typescript-estree: add support for class static blocks (#3730) (f81831b)
typescript-eslint - v4.29.3

Published by JamesHenry about 3 years ago

4.29.3 (2021-08-23)

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

typescript-eslint - v4.29.2

Published by JamesHenry about 3 years ago

4.29.2 (2021-08-16)

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

typescript-eslint - v4.29.1

Published by JamesHenry about 3 years ago

4.29.1 (2021-08-09)

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

typescript-eslint - v4.29.0

Published by JamesHenry about 3 years ago

4.29.0 (2021-08-02)

Bug Fixes

  • eslint-plugin: [no-implied-eval] handle bind on nested member expressions (#3598) (f5a6806)
  • eslint-plugin: [no-implied-eval] permit more expression types (#3624) (ca7c549)
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] incorrect fix when condition is reversed (#3581) (b595575)
  • eslint-plugin: [return-await] handle nested functions correctly (#3601) (4a196b5)
  • eslint-plugin: [return-await] properly handle fixes for TSAsExpression (#3631) (00a4369)
  • experimental-utils: simplify eslint-utils' findVariable's signature in ast-utils (#3574) (3ef5267)
  • typescript-estree: correct tty check (#3635) (62bcc93)
  • typescript-estree: ensure --fix works with singleRun mode (#3655) (99eca0d)

Features

  • ast-spec: extract ExportKind & ImportKind (#3564) (120d566)
  • ast-spec: make BaseNode & BaseToken more type-safe (#3560) (a6c5604)
  • eslint-plugin: [no-redeclare] ignoreDeclarationMerge of enum+namespace (#3572) (18e30cb)
  • eslint-plugin: [prefer-return-this-type] add a new rule (#3228) (5e1a615)
  • eslint-plugin: Catch unused React import with new JSX transform (#3577) (02998ea)
  • typescript-estree: add support for custom module resolution (#3516) (d48429d)
typescript-eslint - v4.28.5

Published by JamesHenry over 3 years ago

4.28.5 (2021-07-26)

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

typescript-eslint - v4.28.4

Published by JamesHenry over 3 years ago

4.28.4 (2021-07-19)

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

typescript-eslint - v4.28.3

Published by JamesHenry over 3 years ago

4.28.3 (2021-07-12)

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

typescript-eslint - v4.28.2

Published by JamesHenry over 3 years ago

4.28.2 (2021-07-05)

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

typescript-eslint - v4.28.1

Published by JamesHenry over 3 years ago

4.28.1 (2021-06-28)

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

typescript-eslint - v4.28.0

Published by JamesHenry over 3 years ago

4.28.0 (2021-06-21)

Bug Fixes

  • eslint-plugin: [prefer-regexp-exec] factor in union types (#3434) (ac86a79)
  • experimental-utils: expand RuleTester config properties (#3557) (ffbb3cf)
  • experimental-utils: fix eslint-utils' negative predicates' return types (#3462) (1e6016b)
  • experimental-utils: fix eslint-utils' negative predicates' return types in ast-utils (#3461) (614b0a3)
  • experimental-utils: make keys for ReferenceTracker options optional (#3531) (a7fd7bb)

Features

  • experimental-utils: add only property to RuleTester types (#3555) (2a36e3e)
  • experimental-utils: expose ReferenceTracker.ESM (#3532) (4ac67c4)
  • experimental-utils: use mergable interface for settings property (#3556) (abfc19b)
typescript-eslint - v4.27.0

Published by JamesHenry over 3 years ago

4.27.0 (2021-06-14)

Bug Fixes

  • eslint-plugin: allow explicit any for no-unsafe-return (#3498) (b15a2b2)
  • typescript-estree: allow providing more one than one existing program in config (#3508) (4f1806e)
  • typescript-estree: support override modifier for parameter property (#3485) (33b9f69)

Features

  • ast-spec: specify LogicalExpression's operator type (#3497) (9e343fd)
  • ast-spec: specify PunctuatorToken's value type (#3496) (fdb1d81)
  • eslint-plugin: [prefer-literal-enum-member] add allowBitwiseExpressions option (#3515) (288092a)
  • typescript-estree: add opt-in inference for single runs and create programs for projects up front (#3512) (06c2d9b)
  • allow user to provide TS program instance in parser options (#3484) (e855b18)

Single-Run Detection

See the explanation for how to opt-in to this feature and how to provide feedback in this issue: https://github.com/typescript-eslint/typescript-eslint/issues/3528

typescript-eslint - v4.26.1

Published by JamesHenry over 3 years ago

4.26.1 (2021-06-07)

Bug Fixes

  • eslint-plugin: [prefer-includes] ignore option chaining before indexOfs (#3432) (bf0cddb)
  • eslint-plugin: fix doc url generation (#3475) (fc5f171), closes #3473
typescript-eslint - v4.26.0

Published by JamesHenry over 3 years ago

4.26.0 (2021-05-31)

Bug Fixes

  • eslint-plugin: [no-type-alias] consider type imports as alias types (#3433) (d4f0774)
  • generate library types for TypeScript v4.3 (#3460) (ed4776a), closes #3449

Features

  • eslint-plugin: [member-ordering] add callback as an ordering type of node (#3354) (d134b1f)
  • eslint-plugin: [space-infix-ops] Add support for Union and intersection of type declarations (#3360) (3d29323)
  • scope-manager: reduce generated lib file size (#3468) (258116b)
typescript-eslint - v4.25.0

Published by JamesHenry over 3 years ago

4.25.0 (2021-05-24)

Bug Fixes

  • corrected no-unsupported-browser-code in roadmap as unimplemented (#3407) (2319b0e)
  • experimental-utils: fix isAwaitKeyword predicate in ast-utils (#3290) (c15da67)

Features

  • typescript-estree: [TS4.3] support overrides on class members (#3429) (21d1b62)
  • typescript-estree: add support for getter/setter signatures on types (#3427) (b830b7f), closes #3272 #3272
typescript-eslint - v4.24.0

Published by JamesHenry over 3 years ago

4.24.0 (2021-05-17)

Bug Fixes

  • eslint-plugin: [no-shadow] fix static class method generics shadowing class generics (#3393) (b1e1c8a), closes #2592
  • eslint-plugin: [no-unsafe-*] special case handling for the empty map constructor with no generics (#3394) (cae4f4a), closes #2109

Features

  • eslint-plugin: [dot-notation] optionally allow square bracket notation where an index signature exists in conjunction with noPropertyAccessFromIndexSignature (#3361) (37ec2c2)