feat: add ansible-lint and yamlfmt
This commit is contained in:
@@ -9,8 +9,16 @@ repos:
|
||||
args:
|
||||
- --autofix
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/google/yamlfmt
|
||||
rev: v0.21.0
|
||||
hooks:
|
||||
- id: yamlfmt
|
||||
- repo: https://github.com/tofuutils/pre-commit-opentofu
|
||||
rev: v2.4.2
|
||||
hooks:
|
||||
- id: tofu_validate
|
||||
- id: tofu_fmt
|
||||
- repo: https://github.com/ansible/ansible-lint
|
||||
rev: v26.4.0
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
|
||||
Reference in New Issue
Block a user