Merge pull request 'benvin/pre-commit' (#25) from benvin/pre-commit into master

Reviewed-on: #25
This commit is contained in:
Ben Vincent 2025-11-16 13:37:55 +11:00
commit c3c1cb660a
11 changed files with 25 additions and 13 deletions

12
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,12 @@
repos:
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.30
hooks:
- id: terraform-fmt
- id: terraform-validate
- id: tflint
- id: terragrunt-hcl-fmt
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
hooks:
- id: yamllint