There was an error while loading. Please reload this page.
1 parent f70fcbb commit 9c6c6c7Copy full SHA for 9c6c6c7
.pre-commit-hooks.yaml
@@ -13,6 +13,8 @@
13
Rewrites all Terraform configuration files to a canonical format.
14
entry: hooks/terraform_fmt.sh
15
language: script
16
+ # 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
0 commit comments