lint and warn when a packageRule object has both matchUpdateTypes AND allowedVersions #9172
Labels
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
status:requirements
Full requirements are not yet known, so implementation should not be started
type:feature
Feature (new functionality)
What would you like Renovate to be able to do?
A user was trying to exclude certain Docusaurus v2 releases with this config:
Renovate still opened PRs to update to the
canary
releases. The user asked why it was not working.@rarkins then said (emphasis mine):
So the requirement is:
IF a
packageRule
objectHAS
matchUpdateTypes
ANDallowedVersions
THEN warn user that this is not a valid combination by raising a config warning issue on their repo.
Did you already have any implementation ideas?
I'll let the Renovate developers figure out how to implement this. 😉
The text was updated successfully, but these errors were encountered: