-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Previously the terraform-fmt hook made changes to the files, whereas now it only shows the difference and errors out. I did some digging and found that it was an intentional change as part of this PR: #46
It would be nice to have the old behaviour as an option. Generally my terraform files are syntactically valid, but incorrectly formatted, the previous behaviour took away the pain point of needing to run terraform fmt
after every change. The differences don't need to be analysed, so there's no need for the --diff --check
.
Thanks for providing these hooks, they've been super useful!
Julian, aywrite, MrStemo, Bakdark, becjon and 15 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request