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

New releases for updated peer dependency on eslint-plugin-react #3075

Open
mikevoets opened this issue Jan 9, 2025 · 5 comments
Open

New releases for updated peer dependency on eslint-plugin-react #3075

mikevoets opened this issue Jan 9, 2025 · 5 comments

Comments

@mikevoets
Copy link

There has not been an update for eslint-config-airbnb and eslint-config-airbnb-base for 3 years. The peer dependencies declarations are quite far behind the latest, however on master these peer dependencies have been updated to newer versions. Can we release the latest on master in new packages so we get rid of peer dependency mismatch warnings?

For example:

> yarn
➤ YN0000: · Yarn 4.2.2
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ eslint-plugin-react-hooks is listed by your project with version 5.1.0, which doesn't satisfy what eslint-config-airbnb (pfeef2) requests (^4.3.0).

Thank you!

@ljharb
Copy link
Collaborator

ljharb commented Jan 9, 2025

You say "for example", but I'm quite certain that's the only one that would need a release here to update - all the others are in-range. Is that accurate?

@mikevoets
Copy link
Author

Yes, that is actually correct. I didn't notice that until now.

@ljharb ljharb changed the title New releases for updated peer dependencies New releases for updated peer dependency on eslint-plugin-react Jan 9, 2025
@ljharb
Copy link
Collaborator

ljharb commented Jan 9, 2025

I believe we're still waiting on them to support eslint 9 and flat config, at which point we're basically ready to publish updates.

@mikevoets
Copy link
Author

mikevoets commented Jan 9, 2025

I believe we're still waiting on them to support eslint 9 and flat config, at which point we're basically ready to publish updates.

It looks like they support eslint 9 now:

> npm info "eslint-plugin-react-hooks@latest" peerDependencies
{
  eslint: '^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0'
}

@ljharb
Copy link
Collaborator

ljharb commented Jan 9, 2025

yes, but not flat config - facebook/react#28313

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

No branches or pull requests

2 participants