Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 975 Bytes

config-validation.md

File metadata and controls

22 lines (17 loc) · 975 Bytes
title description
Config Validation
How to validate Renovate's configuration.

Config Validation

All renovate distributions contain a standalone validator program (renovate-config-validator) that can be used to validate Renovate's configuration.

The validator program checks files passed as CLI arguments. If no argument is given, all default locations (if files exist) and the RENOVATE_CONFIG_FILE environment variable are checked.

$ npm install --global renovate
added 750 packages, and audited 751 packages in 51s
$ renovate-config-validator
INFO: Validating renovate.json
INFO: Config validated successfully

You can configure a pre-commit hook to validate your configuration automatically. Please check out the renovatebot/pre-commit-hooks repository for more information.