A pre-commit hook to run renovate-config-validator
when you reconfigure Renovate via PR.
Even though it is a Node-based hook, it works without any system-level dependencies.
For general usage:
repos:
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 39.82.6
hooks:
- id: renovate-config-validator
Or for a tighter configuration, opt into strict mode:
repos:
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 39.82.6
hooks:
- id: renovate-config-validator
args: [--strict]