gruntwork-io / gruntwork-io/pre-commit

Support args for terraform-fmt, remove hardcoded args.

Open
#138 0 comments 3 reactions 1 assignee Claimed by @ZachGoldberg View on GitHub
enhancement
Dominant language
Shell
Stars
547
Forks
168
PR merge metrics
No merged PRs in 30d

Description

**Describe the solution you'd like**
I want to be able to pass my own args into `terraform fmt`. Right now, it will only check and error out instead of allowing us to autofix on pre-commit.

**Describe alternatives you've considered**
The alternative is what it is now, which doesn't support autofixing

**Additional context**
I stopped using this pre-commit in favor of terraform-fmt pre-commits that allow for `--write=true` arg injection.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.