diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..e135550 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,24 @@ +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'