{"repo":"gruntwork-io/pre-commit","free":true,"listed":false,"github":"https://github.com/gruntwork-io/pre-commit","clone":"git clone https://github.com/gruntwork-io/pre-commit.git","description":"A collection of pre-commit hooks used by Gruntwork tools","language":"Shell","stars":546,"topics":["precommit-hooks","devops","bash","git"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Pre-commit hooks This repo defines Git pre-commit hooks intended for use with pre-commit. The currently supported hooks are: tofu-fmt : Automatically run tofu fmt on all OpenTofu code ( .tf , .tofu files). tofu-validate : Automatically run tofu validate on all OpenTofu code ( .tf , .tofu files). terraform-fmt : Automatically run terraform fmt on all Terraform code ( .tf files). terraform-validate : Automatically run terraform validate on all Terraform code ( .tf files). packer-validate : Automatically run packer validate on all Packer code ( .pkr. files). terragrunt-hclfmt : Automatically run terragrunt hclfmt on all Terragrunt configurations (deprecated, use terragrunt-hcl-fmt instead if you are using Terragrunt 0.77.22 or later). terragrunt-hcl-fmt : Automatically run terragrunt hcl fmt on all Terragrunt configurations (requires Terragrunt 0.77.22 or later). tflint : Automatically run tflint on all OpenTofu/Terraform code ( .tf , .tofu files). shellcheck : Run shellcheck to lint files that contain a bash shebang). gofmt : Automatically run gofmt on all Golang code ( .go files). goimports : Automatically run goimports on all Golang code ( .go files). golint : Automatically run golint on all Golang code ( .go files). [ DEPRECATED ]: Please use golangci-lint below. golangci-lint : Automatically run golangci-lint on all Golang code ( .go files). yapf : Automatically run yapf on all python code ( .py files). helmlint Automatically run helm lint on your Helm chart files. See cave","default_branch":null,"files":null,"tree":[],"storefront":"/r/gruntwork-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gruntwork-io/pre-commit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}