Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Update typescript-eslint monorepo to v4 (major) #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 1, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin ^2.15.0 -> ^4.0.0 age adoption passing confidence
@typescript-eslint/parser ^2.15.0 -> ^4.0.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint

v4.27.0

Compare Source

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)

4.26.1 (2021-06-07)

Bug Fixes

v4.26.1

Compare Source

Bug Fixes

v4.26.0

Compare Source

Bug Fixes
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)

v4.25.0

Compare Source

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

v4.24.0

Compare Source

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)

v4.23.0

Compare Source

Bug Fixes
  • scope-manager: fix visiting TSAsExpression in assignment (#​3355) (87521a0)
Features
  • experimental-utils: Include getCwd() in RuleContext type (#​3308) (2b75c11)
  • refactor to split AST specification out as its own module (#​2911) (25ea953)

4.22.1 (2021-05-04)

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

v4.22.1

Compare Source

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

v4.22.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unsafe-argument] handle tuple types on rest arguments (#​3269) (6f8cfe6)
Features

v4.21.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-type-alias] consider keyof as an alias (#​3242) (329ef02)
  • eslint-plugin: [no-unnecessary-type-assertion] correct bad fix for angle bracket assertion (#​3244) (265a039)
  • eslint-plugin: [restrict-plus-operands] consider template literal types as strings (#​3234) (ccfd68e)
  • eslint-plugin: [strict-boolean-expressions] account for truthy literals (#​3236) (0913f40)
  • eslint-plugin: always ignore assignments in no-unnecessary-type-assertion (#​3235) (0221476)
Features
  • eslint-plugin: [no-unsafe-argument] add rule (#​3256) (b1aa7dc), closes #​791
  • eslint-plugin: [no-unsafe-call][no-unsafe-member-access] improve report messages for this for noImplicitThis (#​3199) (b1b26c4)

v4.20.0

Compare Source

Features
  • eslint-plugin: [space-infix-ops] support for class properties and type aliases (#​3231) (5414bf2)
  • eslint-plugin: [type-annotation-spacing] handle space between ? and : (#​3138) (40bdb0b)

v4.19.0

Compare Source

Bug Fixes
  • eslint-plugin: [member-delimiter-style] correct invalid fix for multiline with params on the same line (#​3177) (7ad343b)
  • eslint-plugin: [promise-function-async] bad fixer with computed and literal methods (#​3163) (e3a3ea0)
  • typescript-estree: [ts 4.2] add support for import type equal declaration (#​3189) (6a25faf)
Features

v4.18.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] fixes #​2864 related to functions in nested object properties (#​3178) (55e1fba)
  • eslint-plugin: [no-extran-class] allowWithDecorator should ignore other errors (#​3160) (a148673)
Features

v4.17.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-type-assertion] handle assignment (#​3133) (cb22561)
Features
  • eslint-plugin: [strict-bool-expr] add fixes and suggestions (#​2847) (3f9e9a1)

4.16.1 (2021-03-01)

Bug Fixes

v4.16.1

Compare Source

Bug Fixes

v4.16.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] do not autofix if interface has extends (#​3009) (b0475af)
  • eslint-plugin: [no-implied-eval] handle conditional expression (#​3125) (8c65d30)
  • eslint-plugin: [no-unused-vars] don't report nested module declaration (#​3119) (4ca5888)
  • eslint-plugin: [prefer-function-type] apply existing comments to the fixed code (#​3094) (c32f803)
  • eslint-plugin: [unbound-method] allow super expressions in this assignments (#​3010) (c65a139)
  • scope-manager: update libs for typescript 4.2 (#​3118) (0336c79)
Features
  • TypeScript 4.2 syntax support (#​3112) (2ebfb21)
  • eslint-plugin: [member-delimiter-style] Add an option 'multilineDetection' to treat types and interfaces as single line if the last member ends on the same line as the closing bracket (#​2970) (cf86f42)
  • eslint-plugin: [prom-func-async] report only function head (#​2872) (25f459c)
  • typescript-estree: throw custom error instead of plain object (#​3011) (ae14bf5)

4.15.2 (2021-02-22)

Bug Fixes
  • typescript-estree: correct issues in AST definition (#​3083) (509a117)
  • add missing intrinsic keyword node to AST (#​3081) (409bf0b)
  • eslint-plugin: [no-var-requires] report when used in type assertion (#​3074) (763a252)
  • correct test names on windows for semantic-diagnostics-enabled (#​3060) (885780d)

4.15.1 (2021-02-15)

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] check allowNames on function declarations and property methods (#​3051) (0ade469)

v4.15.2

Compare Source

Bug Fixes
  • typescript-estree: correct issues in AST definition (#​3083) (509a117)
  • add missing intrinsic keyword node to AST (#​3081) (409bf0b)
  • eslint-plugin: [no-var-requires] report when used in type assertion (#​3074) (763a252)
  • correct test names on windows for semantic-diagnostics-enabled (#​3060) (885780d)

v4.15.1

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] check allowNames on function declarations and property methods (#​3051) (0ade469)

v4.15.0

Compare Source

Bug Fixes
Features
  • typescript-estree: improve logic used to escape string literals in jsx (#​2995) (3cb3aad)

4.14.2 (2021-02-01)

Bug Fixes
  • eslint-plugin: [consistent-type-imports] incorrect handling of computed property type signatures (#​2990) (58f2655), closes #​2989
  • scope-manager: correctly reference generic parameters when decorator metadata is enabled (#​2975) (7695ef3), closes #​2972

4.14.1 (2021-01-25)

Bug Fixes

v4.14.2

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-type-imports] incorrect handling of computed property type signatures (#​2990) (58f2655), closes #​2989
  • scope-manager: correctly reference generic parameters when decorator metadata is enabled (#​2975) (7695ef3), closes #​2972

v4.14.1

Compare Source

Bug Fixes

v4.14.0

Compare Source

Features

v4.13.0

Compare Source

Bug Fixes
Features
  • eslint-plugin: [sort-type-union-intersection-members] add nullish group (#​2919) (5558f41)

v4.12.0

Compare Source

Bug Fixes
  • eslint-plugin: [comma-spacing] handle empty type params (#​2915) (4d69fbb)
Features
  • eslint-plugin: add rule sort-type-union-intersection-members (#​2913) (9092c04)

4.11.1 (2020-12-28)

Bug Fixes
  • eslint-plugin: [naming-convention] fix precedence of method and property meta selectors (#​2877) (2f10e1a)

v4.11.1

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] fix precedence of method and property meta selectors (#​2877) (2f10e1a)

v4.11.0

Compare Source

Bug Fixes
  • eslint-plugin: [non-nullable-type-assertion-style] handle const assertion (#​2881) (53dc34d)
Features

v4.10.0

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] fix wrong member of method and property meta selectors (#​2856) (9a6c362)
Features
  • eslint-plugin: add rule non-nullable-type-assertion-style (#​2624) (7eee44f)

4.9.1 (2020-12-07)

Bug Fixes
  • eslint-plugin: [method-signature-style] fix crash with methods without a return type (#​2836) (fed89f2), closes #​2834
  • eslint-plugin: [no-unused-vars] false-positive with class expressions (#​2833) (aadb39f), closes #​2831
  • eslint-plugin: [no-unused-vars] fix race condition between naming-convention and no-unused-vars (#​2848) (ccb6b94), closes #​2844

v4.9.1

Compare Source

Bug Fixes
  • eslint-plugin: [method-signature-style] fix crash with methods without a return type (#​2836) (fed89f2), closes #​2834
  • eslint-plugin: [no-unused-vars] false-positive with class expressions (#​2833) (aadb39f), closes #​2831
  • eslint-plugin: [no-unused-vars] fix race condition between naming-convention and no-unused-vars (#​2848) (ccb6b94), closes #​2844

v4.9.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] convert readonly index signature to readonly record (#​2798) (29428a4)
  • eslint-plugin: [consistent-type-imports] crash when using both default and namespace in one import (#​2778) (c816b84)
  • eslint-plugin: [explicit-module-boundary-types] ignore functions exported within typed object/array literals (#​2805) (73a63ee)
  • eslint-plugin: [no-use-before-define] allow class references if they're within a class decorator (#​2827) (050023a), closes #​2842
  • eslint-plugin: [triple-slash-reference] fix crash with external module reference (#​2788) (32b1b68)
  • scope-manager: fix assertion assignments not being marked as write references (#​2809) (fa68492), closes #​2804
  • typescript-estree: add default value for parserOptions.projectFolderIgnoreList and deduplicate resolved projects (#​2819) (bf904ec), closes #​2418 #​2814
Features

4.8.2 (2020-11-23)

Bug Fixes
  • eslint-plugin: [prefer-literal-enum-member] allow pure template literal strings (#​2786) (f3bf6a1)
  • typescript-estree: fix type-only regression for consumers not yet on TS 4.1 (#​2789) (50a46c6)

4.8.1 (2020-11-17)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] false positive when array predicate returns unknown (#​2772) (111c244)
  • typescript-estree: parseWithNodeMaps returning empty maps (#​2773) (3e4a0ed)

v4.8.2

Compare Source

Bug Fixes
  • eslint-plugin: [prefer-literal-enum-member] allow pure template literal strings (#​2786) (f3bf6a1)
  • typescript-estree: fix type-only regression for consumers not yet on TS 4.1 (#​2789) (50a46c6)

v4.8.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] false positive when array predicate returns unknown (#​2772) (111c244)
  • typescript-estree: parseWithNodeMaps returning empty maps (#​2773) (3e4a0ed)

v4.8.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-type-definitions] remove fixer when the interface is within a global module declaration (#​2739) (2326238)
  • eslint-plugin: [no-unsafe-member-access] ignore MemberExpression's whose parents are either TSClassImplements or TSInterfaceHeritage (#​2753) (535db3b)
Features

v4.7.0

Compare Source

Bug Fixes
  • eslint-plugin: [array-type] parenthesize ReadonlyArray fix (#​2747) (83385ac)
  • eslint-plugin: [no-extra-non-null-assertion] false positive with non-nullable computed key (#​2737) (e82698c)
Features

4.6.1 (2020-11-02)

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] fix wrong autofix behaviour with generics (#​2722) (73d9713)
  • eslint-plugin: [no-shadow] ignore global module augmentation (#​2729) (d8c67a5)

v4.6.1

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] fix wrong autofix behaviour with generics (#​2722) (73d9713)
  • eslint-plugin: [no-shadow] ignore global module augmentation (#​2729) (d8c67a5)

v4.6.0

Compare Source

Bug Fixes
  • eslint-plugin: [method-signature-style] correct fixer for overloads in an object literal type (#​2708) (0763913)
  • eslint-plugin: [method-signature-style] don't auto-fix interfaces within namespaces (#​2678) (e012049)
  • eslint-plugin: [prefer-string-starts-ends-with] Check negative indices in the second position for slice (#​2696) (66e9c6e)
Features

[v4.5.0](https://


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from d3a3817 to c2a91ce Compare October 29, 2020 06:00
@renovate renovate bot changed the title Update typescript-eslint monorepo to v3 (major) Update typescript-eslint monorepo to v4 (major) Oct 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant