chore(pre-commit): check Salt files using salt-lint

This commit is contained in:
Dafydd Jones 2020-07-02 19:13:28 +01:00
parent c50c081069
commit 70117620d7

View file

@ -37,3 +37,9 @@ repos:
.*\.(yaml|yml)
)$
exclude: ^test/.*/states/.*\.sls$
- repo: https://github.com/warpnet/salt-lint
rev: v0.3.0
hooks:
- id: salt-lint
name: Check Salt files using salt-lint
files: ^.*\.(sls|jinja|j2|tmpl|tst)$