Skip to content

Commit 368d760

Browse files
committed
updated .pre-commit-config file
1 parent 2ce6dbd commit 368d760

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,17 @@ repos:
1919
- id: debug-statements
2020
- id: check-yaml
2121
- id: check-added-large-files
22+
23+
- repo: https://github.com/antonbabenko/pre-commit-terraform
24+
rev: v1.77.0
25+
hooks:
26+
- id: terraform_fmt
27+
- id: terraform_docs
28+
args:
29+
- '--args=--lockfile=false'
30+
- --hook-config=--add-to-existing-file=true
31+
- --hook-config=--create-file-if-not-exist=true
32+
33+
- id: terraform_tflint
34+
args:
35+
- --args=--config=.tflint.hcl

0 commit comments

Comments
 (0)