docker run -it --rm -v $PWD:/app renovate/renovate:24.28.4 bash -c "cd /app && renovate-config-validator"
Validating renovate.json
Validating config.js
OK
docker run -it --rm -v $PWD:/app renovate/renovate:24.32.2 bash -c "cd /app && renovate-config-validator"
Validating renovate.json
renovate.json contains errors:
[
{
"depName": "Configuration Error",
"message": "Invalid configuration option: packageRules[0].managers"
},
{
"depName": "Configuration Error",
"message": "Invalid configuration option: packageRules[1].managers"
},
{
"depName": "Configuration Error",
"message": "Invalid configuration option: packageRules[1].packagePatterns"
},
{
"depName": "Configuration Error",
"message": "packageRules: Each packageRule must contain at least one selector (matchPaths, matchLanguages, matchBaseBranches, matchManagers, matchDatasources, matchDepTypes, matchPackageNames, matchPackagePatterns, excludePackageNames, excludePackagePatterns, matchCurrentVersion, matchSourceUrlPrefixes, matchUpdateTypes). If you wish for configuration to apply to all packages, it is not necessary to place it inside a packageRule at all."
},
{
"depName": "Configuration Error",
"message": "packageRules: Each packageRule must contain at least one selector (matchPaths, matchLanguages, matchBaseBranches, matchManagers, matchDatasources, matchDepTypes, matchPackageNames, matchPackagePatterns, excludePackageNames, excludePackagePatterns, matchCurrentVersion, matchSourceUrlPrefixes, matchUpdateTypes). If you wish for configuration to apply to all packages, it is not necessary to place it inside a packageRule at all."
}
]
Validating config.js