We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
terraform_fmt
.tftest.hcl
.tfmock.hcl
1 parent a134d16 commit 7433e13Copy full SHA for 7433e13
.pre-commit-hooks.yaml
@@ -13,7 +13,9 @@
13
Rewrites all Terraform configuration files to a canonical format.
14
entry: hooks/terraform_fmt.sh
15
language: script
16
- files: \.(tf|tofu|tfvars)$
+ # Supported extensions by Terraform specified in
17
+ # https://github.com/hashicorp/terraform/blob/0c63fb2b097edcd5cb1a91322765a414206fbea2/internal/command/fmt.go#L30-L35
18
+ files: \.(tf|tofu|tfvars|tftest\.hcl|tfmock\.hcl)$
19
exclude: \.terraform/.*$
20
21
- id: terraform_docs
0 commit comments