Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update typescript-eslint monorepo to v5 (major) #18

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 1, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin 2.34.0 -> 5.38.0 age adoption passing confidence
@typescript-eslint/parser 2.34.0 -> 5.38.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.38.0

Compare Source

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

v5.37.0

Compare Source

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] check all conditions in a logical operator chain (#​5539) (77d76e2)

5.36.2 (2022-09-05)

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle generic ts array type. (#​5550) (0d6a190)
  • scope-manager: correct handling for class static blocks (#​5580) (35bb8dd)

5.36.1 (2022-08-30)

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

v5.36.2

Compare Source

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle generic ts array type. (#​5550) (0d6a190)
  • scope-manager: correct handling for class static blocks (#​5580) (35bb8dd)

v5.36.1

Compare Source

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

v5.36.0

Compare Source

Bug Fixes
Features

5.35.1 (2022-08-24)

Bug Fixes
  • eslint-plugin: correct rule schemas to pass ajv validation (#​5531) (dbf8b56)

v5.35.1

Compare Source

Bug Fixes
  • eslint-plugin: correct rule schemas to pass ajv validation (#​5531) (dbf8b56)

v5.35.0

Compare Source

Features
  • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#​5492) (0edb94a)

v5.34.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-useless-constructor] handle parameter decorator (#​5450) (864dbcf)
Features
  • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#​5266) (aca935c)

5.33.1 (2022-08-15)

Bug Fixes
  • missing placeholders in violation messages for no-unnecessary-type-constraint and no-unsafe-argument (and enable eslint-plugin/recommended rules internally) (#​5453) (d023910)

v5.33.1

Compare Source

Bug Fixes
  • missing placeholders in violation messages for no-unnecessary-type-constraint and no-unsafe-argument (and enable eslint-plugin/recommended rules internally) (#​5453) (d023910)

v5.33.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle await with type assertion (#​5428) (e03826f)
  • website: add explicit frontmatter description to rule docs (#​5429) (63cba5f)
Features
  • eslint-plugin: [member-ordering] support static blocks (#​5417) (5983e5a)
  • eslint-plugin: [prefer-as-const] adds support for class properties (#​5413) (d2394f8)

v5.32.0

Compare Source

Features
  • eslint-plugin: [no-use-before-define] add "allowNamedExports" option (#​5397) (ad412cd)

v5.31.0

Compare Source

Bug Fixes
  • eslint-plugin: [typedef] Support nested array destructuring with type annotation (#​5311) (6d19efe)
  • scope-manager: handle typeParameters of TSInstantiationExpression (#​5355) (2595ccf)
Features
  • eslint-plugin: [consistent-generic-ctors] check class field declaration (#​5288) (48f996e)
  • eslint-plugin: [prefer-nullish-coalescing] add ignoreTernaryTests option (#​4965) (f82727f)

5.30.7 (2022-07-18)

Bug Fixes
  • eslint-plugin: [no-inferrable] fix optional param to valid code (#​5342) (98f6d5e)
  • eslint-plugin: [no-unused-vars] highlight last write reference (#​5267) (c3f199a)

5.30.6 (2022-07-11)

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

5.30.5 (2022-07-04)

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#​5280) (57f032c)

5.30.4 (2022-07-03)

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

5.30.3 (2022-07-01)

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

5.30.2 (2022-07-01)

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

5.30.1 (2022-07-01)

Bug Fixes
  • eslint-plugin: [no-base-to-string] add missing apostrophe to message (#​5270) (d320174)

v5.30.7

Compare Source

Bug Fixes
  • eslint-plugin: [no-inferrable] fix optional param to valid code (#​5342) (98f6d5e)
  • eslint-plugin: [no-unused-vars] highlight last write reference (#​5267) (c3f199a)

v5.30.6

Compare Source

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

v5.30.5

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] fix record mode fixer for generics with a default value (#​5280) (57f032c)

v5.30.4

Compare Source

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

v5.30.3

Compare Source

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

v5.30.2

Compare Source

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

v5.30.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-base-to-string] add missing apostrophe to message (#​5270) (d320174)

v5.30.0

Compare Source

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)

v5.29.0

Compare Source

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

v5.28.0

Compare Source

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
  • eslint-plugin: [consistent-generic-constructors] add rule (#​4924) (921cdf1)

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)

v5.27.1

Compare Source

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)

v5.27.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-type-alias] handle Template Literal Types (#​5092) (8febf11)
Features
  • [4.7] support new extensions (#​5027) (efc147b)
  • 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)

v5.26.0

Compare Source

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

v5.25.0

Compare Source

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)

v5.24.0

Compare Source

Bug Fixes
Features

v5.23.0

Compare Source

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

v5.22.0

Compare Source

Bug Fixes
  • eslint-plugin: [comma-spacing] verify nextToken exists (#​4868) (23746f8)
Features

v5.21.0

Compare Source

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)

v5.20.0

Compare Source

Features
  • eslint-plugin: [no-magic-numbers] ignoreTypeIndexes option (#​4789) (5e79451)

v5.19.0

Compare Source

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

v5.18.0

Compare Source

Bug Fixes
  • eslint-plugin: method-signature-style respect getter signature (#​4777) (12dd670)
Features
  • eslint-plugin: [no-shadow] ignoreOnInitialization option (#​4603) (068ea9b)
  • eslint-plugin: [no-this-alias] report on assignment expressions (#​4718) (8329498)

v5.17.0

Compare Source

Features
  • eslint-plugin: [no-unused-vars] add destructuredArrayIgnorePattern options (#​4748) (6f8db8b)

v5.16.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-type-assertions] enforce assertionStyle for const assertions (#​4685) (8ec05be)
Features
  • eslint-plugin: [prefer-optional-chain] support logical with empty object (#​4430) (d21cfe0)

v5.15.0

Compare Source

Features

v5.14.0

Compare Source

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)

v5.13.0

Compare Source

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)

5.12.1 (2022-02-21)

Bug Fixes
  • eslint-plugin: [no-unnecessary-type-arguments] fix comparison of types (#​4555) (fc3936e)

v5.12.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-type-arguments] fix comparison of types (#​4555) (fc3936e)

v5.12.0

Compare Source

Bug Fixes
  • eslint-plugin: [init-declarations] fix nested namespace (#​4544) (fe910e6)
  • eslint-plugin: [no-unnecessary-type-arguments] Use Symbol to check if it's the same type (#​4543) (5b7d8df)
  • support nested object deconstructuring with type annotation (#​4548) (4da9278)
Features
  • add checking property definition for allowNames option (#​4542) (e32bef6)

v5.11.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-magic-numbers] fix invalid schema merging (#​4517) (b95f796)
  • eslint-plugin: [non-nullable-type-assertion-style] fix false positive when asserting to a generic type that might be nullish (#​4509) (4209362)
Features
  • eslint-plugin: [explicit-function-return-type] add allowedNames (#​4440) (936e252)

5.10.2 (2022-01-31)

Bug Fixes
  • eslint-plugin: [no-restricted-imports] allow relative type imports with patterns configured (#​4494) (4a6d217)

5.10.1 (2022-01-24)

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

v5.10.2

Compare Source

Bug Fixes
  • eslint-plugin: [no-restricted-imports] allow relative type imports with patterns configured (#​4494) (4a6d217)

v5.10.1

Compare Source

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

v5.10.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-function-return-type] support AllowTypedFunctionExpression within AllowHigherOrderFunction (#​4250) (d053cde)
  • eslint-plugin: [no-extra-semi] false negatives when used with eslint 8.3.0 (#​4458) (f4016c2)
  • eslint-plugin: [no-invalid-this] crash when used with eslint 8.7.0 (#​4448) (e56f1e5)
  • eslint-plugin: [no-magic-numbers] handle bigint in class props (#​4411) (c8e650f)
Features
  • rename experimental-utils to utils and make experimental-utils an alias to the new package (#​4172) (1d55a75)

5.9.1 (2022-01-10)

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

v5.9.1

Compare Source

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

v5.9.0

Compare Source

Features
  • experimental-utils: move isTypeReadonly from eslint-plugin to experimental-utils (#​3658) (a9eb0b9)

5.8.1 (2021-12-27)

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] do not report for circular references (#​4347) (6edebcd)
  • eslint-plugin: [consistent-type-definitions] correct fixer with declare keyword (#​4334) (0cd911a)
  • eslint-plugin: [padding-line-between-statements] make function overloading is also processed (#​4345) (d31ec26)

v5.8.1

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] do not report for circular references (#​4347) (6edebcd)
  • eslint-plugin: [consistent-type-definitions] correct fixer with declare keyword (#​4334) (0cd911a)
  • eslint-plugin: [padding-line-between-statements] make function overloading is also processed (#​4345) (d31ec26)

v5.8.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-implied-eval] improve performance (#​4313) (e344596)
  • eslint-plugin: [padding-line-between-statements] type StatementTypes can't differenciate from variable (#​4270) (bfc4324)
  • eslint-plugin: [strict-boolean-expression] false positive for truthy boolean (#​4275) (72c2e41)
  • eslint-plugin: array-type mark AST_NODE_TYPES.TSBigIntKeyword as simple (#​4274) (74e544e)
  • eslint-plugin: handle method overloading in semi (#​4318) (3b87b49)
  • experimental-utils: support immutable members (#​3844) (3d33a77)
Features
  • eslint-plugin: [no-throw-literal] add options to to disallow any/unknown (#​4207) (ff0adf9)
  • eslint-plugin: [restrict-plus-operand] add allowAny option (#​4260) (2788545)

v5.7.0

Compare Source

Features
  • eslint-plugin: [consistent-type-exports] support TS4.5 inline export specifiers (#​4236) (be4d976)
  • eslint-plugin: [consistent-type-imports] support TS4.5 inline import specifiers (#​4237) (f61af7c)
  • eslint-plugin: [no-shadow] support TS4.5 inline import specifiers (#​4239) (96b7e8e)

v5.6.0

Compare Source

Features
  • scope-manager: support TS4.5 import/export specifier kind (#​4234) (833f822)

[v5.5.0](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​550-httpsgithubcomtypescript-eslinttypescript


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox.

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

@renovate
Copy link
Author

renovate bot commented Jan 1, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @vue/eslint-config-typescript@5.1.0
npm ERR! Found: @typescript-eslint/eslint-plugin@5.38.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR!   dev @typescript-eslint/eslint-plugin@"5.38.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/eslint-plugin@"^2.7.0" from @vue/eslint-config-typescript@5.1.0
npm ERR! node_modules/@vue/eslint-config-typescript
npm ERR!   dev @vue/eslint-config-typescript@"5.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @typescript-eslint/eslint-plugin@2.34.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR!   peer @typescript-eslint/eslint-plugin@"^2.7.0" from @vue/eslint-config-typescript@5.1.0
npm ERR!   node_modules/@vue/eslint-config-typescript
npm ERR!     dev @vue/eslint-config-typescript@"5.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2022-09-25T11_47_19_177Z-debug-0.log

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 10 times, most recently from 397e0c8 to 707849e Compare January 5, 2022 17:03
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 83c4eec to 4a87cad Compare January 17, 2022 19:08
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 9476f65 to f3cc34c Compare January 31, 2022 18:33
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from baed2f1 to 19c0b7d Compare February 14, 2022 18:44
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 9bb4e4c to b90c92a Compare February 28, 2022 18:53
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from b90c92a to cc31d8a Compare March 7, 2022 18:35
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from ea45f51 to 031c7d7 Compare March 21, 2022 18:46
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 837425f to bab4197 Compare April 4, 2022 18:16
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from bab4197 to d86672a Compare April 11, 2022 17:12
@renovate renovate bot changed the title Update typescript-eslint monorepo to v5 (major) Update typescript-eslint monorepo (major) Apr 11, 2022
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from d86672a to 8455793 Compare April 11, 2022 20:58
@renovate renovate bot changed the title Update typescript-eslint monorepo (major) Update typescript-eslint monorepo to v5 (major) Apr 11, 2022
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 2119c8d to 1d09b0f Compare April 25, 2022 18:52
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 1d09b0f to ccdd76d Compare May 2, 2022 19:35
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from ccdd76d to 058ffff Compare May 9, 2022 20:17
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 4ec8f50 to 2453a8b Compare June 24, 2022 01:01
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 2453a8b to 02d866b Compare September 25, 2022 11:47
@Tch1b0 Tch1b0 closed this Oct 19, 2022
@Tch1b0 Tch1b0 deleted the renovate/major-typescript-eslint-monorepo branch October 19, 2022 17:09
@renovate
Copy link
Author

renovate bot commented Oct 19, 2022

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant