-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
peerDeps should use ^
range type
#596
Comments
Actually, it is a reasonable claim, we should always use the last up-to-date version of dependencies and not stay behind, it is fine to use
Indeed, if we now use Note that even if do use Currently the "peerDependencies": {
"eslint": "^7.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1 || ^5.0.0"
}, The We should consider merging #590, it is much cleaner to check if our |
I feel it's not reasonable, because a major version of a peer dep is likely to be incompatible with the config this package provides for the rules which that peer dep provides.
Breaking changes in this package used to be quite frequent while I was actively following
Yes, that's true.
Yes, generally, yes.
I will submit a PR with a proposed solution. |
Fixes #596. BREAKING CHANGE: peer dependencies are specified with `^`.
I agree that |
Right, I'm fine with |
Fixes #596 BREAKING CHANGE: peer dependencies are specified with `^`.
Fixes #596. BREAKING CHANGE: peer dependencies are specified with `^`.
The CI fails as discussed in request changes of the PR #597, we should support |
@divlo thanks. That's a different issue and I'm on it. I feel we can close this one though. |
I don't know why we're using
>=
. That claims support for larger major versions, which isn't a reasonable claim. The change seems to come from 6c8c04c, which was me, but it doesn't explain much other than referring to #94 which also doesn't explain much. I feel that the peerDeps should use^
. That's a breaking change.The text was updated successfully, but these errors were encountered: