Skip to content

Commit 9c6c6c7

Browse files
authored
Apply suggestions from code review
1 parent f70fcbb commit 9c6c6c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
Rewrites all Terraform configuration files to a canonical format.
1414
entry: hooks/terraform_fmt.sh
1515
language: script
16+
# Supported extensions by Terraform specified in
17+
# https://github.com/hashicorp/terraform/blob/0c63fb2b097edcd5cb1a91322765a414206fbea2/internal/command/fmt.go#L30-L35
1618
files: \.(tf|tofu|tfvars|tftest\.hcl|tfmock\.hcl)$
1719
exclude: \.terraform/.*$
1820

0 commit comments

Comments
 (0)