-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Comments
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? |
Yes, that is actually correct. I didn't notice that until now. |
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:
|
yes, but not flat config - facebook/react#28313 |
@ljharb seems like flat config as well now. |
yep, thanks, i'm aware. |
@ljharb Given that eslint 8 is deprecated and no longer supported, does it make sense to just create a major version of this library that only supports eslint 9 rather than dealing with the pain of having to be backwards compatible with 8 and 7? Breaking changes are always expected in a major version. I see this in all my NPM installs since I'm waiting for this one library to support eslint 9 before I can upgrade.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@heath-freenome nope, it doesn't make sense - yet. |
@ljharb Say more about... |
Before a major release, we're definitely going to have a version that supports both 8 and 9. At some undetermined point after that, we'll drop 8, and go flat-config only. |
I get it... Why not just bump the major release now with 9 support only? Is it your policy to add major version upgrades of internal dependencies in a minor release first? |
Yes. |
what if the major version upgrade of an peer dependency has extreme breaking changes? As a maintainer of the rjsf project, once we reach a point where a major version of a peer dependency has breaking changes that are really hard to accommodate in a simple way, we tend to cut our losses and cut a major version ourself with a breaking change indicating that we don't support earlier versions of the peer dependency |
In the past, we've just done the work rather than cut losses. "What if" isn't really worth asking until it happens, and it's not happening now. |
Fair enough. So where are you at in supporting eslint 9? |
See #2961, which is pinned on the repo. |
So close... |
There has not been an update for
eslint-config-airbnb
andeslint-config-airbnb-base
for 3 years. The peer dependencies declarations are quite far behind the latest, however onmaster
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:
Thank you!
The text was updated successfully, but these errors were encountered: