puppet-prod/.pre-commit-config.yaml
Ben Vincent f769d1df50 Initial commit for pre-commit-hooks
* run 'pre-commit run --all-files' to setup/test the pre-commit hooks
2023-06-18 20:19:00 +10:00

25 lines
648 B
YAML

repos:
- repo: 'https://github.com/chriskuehl/puppet-pre-commit-hooks.git'
rev: v2.2.0
hooks:
- id: bolt-validate
- id: epp-validate
- id: erb-validate
- id: puppet-lint
args:
- --no-80chars-check
- --no-documentation-check
- --no-puppet_url_without_modules-check
- --fail-on-warnings
- id: puppet-validate
- id: ruby-validate
- repo: 'https://github.com/jumanjihouse/pre-commit-hooks'
rev: 3.0.0
hooks:
- id: reek
- id: rubocop
- repo: 'https://github.com/adrienverge/yamllint'
rev: v1.32.0
hooks:
- id: 'yamllint'