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

Used version of @typescript-eslint/utils does not support ESLint v9 #946

Open
fernion opened this issue Oct 23, 2024 · 4 comments · Fixed by #945 · May be fixed by #901
Open

Used version of @typescript-eslint/utils does not support ESLint v9 #946

fernion opened this issue Oct 23, 2024 · 4 comments · Fixed by #945 · May be fixed by #901
Assignees
Labels

Comments

@fernion
Copy link

fernion commented Oct 23, 2024

Have you read the Troubleshooting section?

No

Plugin version

v6.4.0

ESLint version

v9.13.0

Node.js version

v20.11.1

package manager and version

yarn 4.0.2

Operating system

Ubuntu 24.04.1 LTS

Bug description

I could not find an issue for this "problem", so please close the issue if it is known already.
So far things seem to work correctly except for the warning message.

The current version of @typescript-eslint/utils does not list ESLint v9 as a supported version. The result is a warning when running yarn install:
eslint is listed by your project with version 9.13.0, which doesn't satisfy what eslint-plugin-testing-library (p7b6a7) and other dependencies request (^7.5.0 || ^8.0.0).

yarn explain peer-requirements p7b6a7

We have a problem with eslint, which is provided with version 9.13.0.
It is needed by the following direct dependencies of workspaces in your project:

  ✓ eslint-plugin-testing-library@npm:6.4.0 [5c80b] (via ^7.5.0 || ^8.0.0 || ^9.0.0)

However, those packages themselves have more dependencies listing eslint as peer dependency:

  ✘ @typescript-eslint/utils@npm:5.62.0 [149d9] (via ^6.0.0 || ^7.0.0 || ^8.0.0)

Steps to reproduce

run yarn install

Error output/screenshots

No response

ESLint configuration

Not applicable

Rule(s) affected

None

Anything else?

No response

Do you want to submit a pull request to fix this bug?

No

@fernion fernion added bug Something isn't working triage Pending to be triaged by a maintainer labels Oct 23, 2024
@MichaelDeBoey
Copy link
Member

This will be fixed once #945 is merged

Copy link

🎉 This issue has been resolved in version 7.0.0-beta.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Belco90 Belco90 linked a pull request Oct 31, 2024 that will close this issue
1 task
@Belco90 Belco90 moved this from In Progress to Done in eslint-plugin-testing-library v7 Oct 31, 2024
@hudochenkov
Copy link

I've just checked the latest v7.0.0-beta.5 and the issues is still present, but should be fixed by #948

@MichaelDeBoey
Copy link
Member

@hudochenkov It will be fixed once #955 is merged

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