You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,13 @@
5
5
This repo defines Git pre-commit hooks intended for use with [pre-commit](http://pre-commit.com/). The currently
6
6
supported hooks are:
7
7
8
+
***tofu-fmt**: Automatically run `tofu fmt` on all OpenTofu code (`*.tf`, `*.tofu` files).
9
+
***tofu-validate**: Automatically run `tofu validate` on all OpenTofu code (`*.tf`, `*.tofu` files).
8
10
***terraform-fmt**: Automatically run `terraform fmt` on all Terraform code (`*.tf` files).
9
11
***terraform-validate**: Automatically run `terraform validate` on all Terraform code (`*.tf` files).
10
12
***packer-validate**: Automatically run `packer validate` on all Packer code (`*.pkr.*` files).
11
13
***terragrunt-hclfmt**: Automatically run `terragrunt hclfmt` on all Terragrunt configurations.
12
-
***tflint**: Automatically run [`tflint`](https://github.com/terraform-linters/tflint) on all Terraform code (`*.tf` files).
14
+
***tflint**: Automatically run [`tflint`](https://github.com/terraform-linters/tflint) on all OpenTofu/Terraform code (`*.tf`, `*.tofu` files).
13
15
***shellcheck**: Run [`shellcheck`](https://www.shellcheck.net/) to lint files that contain a bash [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)).
14
16
***gofmt**: Automatically run `gofmt` on all Golang code (`*.go` files).
15
17
***goimports**: Automatically run `goimports` on all Golang code (`*.go` files).
0 commit comments