Invalid configuration reported, but configuration seems correct (and worked before) #43936
-
How are you running Renovate?A Mend.io-hosted app Which platform you running Renovate on?GitHub.com Which version of Renovate are you using?43.219.0 Please tell us more about your question or problemI got this warning/error in my repository today: The relevant part of the configuration is: "matchPackageNames": [
"*",
"!gradle"
],(full config: https://github.com/simrailtools/backend/blob/main/renovate.json) To me the warning seems wrong as the second array entry is an exclusion to the "match all" rule. Maybe I configured this in an unsupported way, but the docs seem to support the idea in general. It might be that the array is now checked for the first time after #43836, but I'm not 100% sure. Thanks for the help in advance! Logs (if relevant)No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Yes, we made the validation around this a bit tigher, so redundant config will be called out more by the validation logic.
|
Beta Was this translation helpful? Give feedback.
Yes, we made the validation around this a bit tigher, so redundant config will be called out more by the validation logic.
["*", "!gradle"]is the same as["!gradle"], the*is redundant please remove it.