3 Commits

Author SHA1 Message Date
unkinben c3c1cb660a Merge pull request 'benvin/pre-commit' (#25) from benvin/pre-commit into master
Reviewed-on: #25
2025-11-16 13:37:55 +11:00
unkinben 5cbd5815a0 chore: format policy files
- ensure all policy files are correctly formatted
2025-11-16 13:35:10 +11:00
unkinben 6d84efe81e feat: add pre-commit
- ran 'pre-commit install'
- add pre-commit configuration
- test yaml + terraform related checks
- terragrunt-hcl-fmt for policy hcl files
2025-11-16 13:31:16 +11:00
11 changed files with 25 additions and 13 deletions
+12
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