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

chore(deps): update typescript-eslint to v6 (major) #2259

Merged
merged 2 commits into from
Jul 21, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 17, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin ~5.62.0 -> ~6.1.0 age adoption passing confidence
@typescript-eslint/parser ~5.62.0 -> ~6.1.0 age adoption passing confidence

Release Notes

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

v6.1.0

Compare Source

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

Compare Source

Bug Fixes
  • bumped ts-api-utils to 0.0.39 (#​6497) (217c710)
  • correct handling of additionalProperties in object schemas (#​6939) (489c7a5)
  • correct lint error after merge (277fdb5)
  • eslint-plugin: [explicit-module-boundary-types] remove shouldTrackReferences option from schema (#​5399) (6d32734)
  • eslint-plugin: allow parser@^6.0.0 (#​6630) (92908bd)
  • eslint-plugin: remove valid-typeof disable in eslint-recommended (#​5381) (b82df5e)
  • fix illegal decorator check (#​6723) (c456f8c)
  • rename typeParameters to typeArguments where needed (#​5384) (08d757b)
  • replace tsutils with ts-api-tools (#​6428) (79327b4)
  • type-utils: treat intrinsic types as if they are from lib and never match error types (#​6869) (ecb57de)
  • typescript-estree: account for namespace nesting in AST conversion (#​6272) (09e3877)
  • update exports field in package.json files (#​6550) (53776c2)
chore
Features
BREAKING CHANGES
  • eslint-plugin: Adds an additional class of checks to the rule
  • drop support for ESLint v6
  • drops support for node v17
  • Bumps the minimum supported range and removes handling for old versions
  • drops support for node v12

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

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

v6.1.0

Compare Source

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

Compare Source

Bug Fixes
chore
Features
BREAKING CHANGES
  • drop support for ESLint v6
  • drops support for node v17
  • drops support for node v12

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


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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, check this box

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

@renovate renovate bot requested a review from a team as a code owner July 17, 2023 00:27
@renovate renovate bot added the c: dependencies Pull requests that adds/updates a dependency label Jul 17, 2023
@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #2259 (c56ab4b) into next (37898ca) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2259      +/-   ##
==========================================
- Coverage   99.60%   99.59%   -0.01%     
==========================================
  Files        2638     2638              
  Lines      244685   244685              
  Branches     1082     1083       +1     
==========================================
- Hits       243707   243693      -14     
- Misses        951      965      +14     
  Partials       27       27              

see 2 files with indirect coverage changes

@renovate renovate bot force-pushed the renovate/major-typescript-eslint branch from a114222 to d87f6ca Compare July 17, 2023 08:23
@renovate renovate bot force-pushed the renovate/major-typescript-eslint branch 4 times, most recently from a0862fa to c27bff0 Compare July 17, 2023 20:33
@xDivisionByZerox
Copy link
Member

xDivisionByZerox commented Jul 17, 2023

The failing lint taks seems to be a false positive 🤔 Can someone smarter than me explain why the linter breaks there?

@renovate renovate bot force-pushed the renovate/major-typescript-eslint branch 3 times, most recently from 4770470 to 5edce7f Compare July 19, 2023 18:48
@ST-DDT
Copy link
Member

ST-DDT commented Jul 19, 2023

Blocked by #2266.

@ST-DDT ST-DDT self-assigned this Jul 19, 2023
@renovate renovate bot force-pushed the renovate/major-typescript-eslint branch from 5edce7f to d80e867 Compare July 20, 2023 20:17
@ST-DDT
Copy link
Member

ST-DDT commented Jul 20, 2023

There are two ways to solve this:

  1. Remove the ignore for the inactive rule
-  // eslint-disable-next-line @typescript-eslint/no-empty-interface
   interface Assertion extends CustomMatchers {}
-  // eslint-disable-next-line @typescript-eslint/no-empty-interface
   interface AsymmetricMatchersContaining extends CustomMatchers {}
  1. Keep the ignore and re-activate the rule
+ '@typescript-eslint/no-empty-interface': 'error',

Any preferences?

@renovate renovate bot force-pushed the renovate/major-typescript-eslint branch from d80e867 to ba037de Compare July 20, 2023 22:55
@renovate renovate bot force-pushed the renovate/major-typescript-eslint branch from ba037de to 3c51de7 Compare July 21, 2023 07:57
@Shinigami92
Copy link
Member

Any preferences?

https://typescript-eslint.io/rules/no-empty-interface

Extending "plugin:@typescript-eslint/stylistic" in an ESLint configuration enables this rule.

Please remove the // eslint-disable-next-line @typescript-eslint/no-empty-interface, because the rule is not recommended anymore, but just stylistic

@renovate
Copy link
Contributor Author

renovate bot commented Jul 21, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@ST-DDT ST-DDT merged commit 9a2f74a into next Jul 21, 2023
@ST-DDT ST-DDT deleted the renovate/major-typescript-eslint branch July 21, 2023 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: dependencies Pull requests that adds/updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants