mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
chore(pre-commit): check Salt files using salt-lint
This commit is contained in:
parent
c50c081069
commit
70117620d7
1 changed files with 6 additions and 0 deletions
|
@ -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)$
|
||||
|
|
Loading…
Add table
Reference in a new issue