Added hadolint pre-commit hook

This commit is contained in:
Michele Cereda
2022-05-11 23:25:11 +02:00
parent 60df86b2d5
commit 57943c8967
4 changed files with 15 additions and 6 deletions

View File

@@ -17,8 +17,13 @@ repos:
hooks:
- id: markdownlint
args:
- -r "~MD013" # ignore line-length rule
- -r "~MD013" # ignore line-length rule
- repo: https://github.com/ansible-community/ansible-lint
rev: v6.0.2
rev: v6.1.0
hooks:
- id: ansible-lint
exclude: ^docker/
- repo: https://github.com/hadolint/hadolint
rev: v2.10.0
hooks:
- id: hadolint