feat: add pre-commit
- ran 'pre-commit install' - add pre-commit configuration - test yaml + terraform related checks - terragrunt-hcl-fmt for policy hcl files
This commit is contained in:
parent
9ff6cf7de7
commit
6d84efe81e
12
.pre-commit-config.yaml
Normal file
12
.pre-commit-config.yaml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user