Skip to content

Instantly share code, notes, and snippets.

@SamTowne
Last active September 24, 2022 14:48
Show Gist options
  • Save SamTowne/c4b1433840e5b1e37f9256756a9609a9 to your computer and use it in GitHub Desktop.
Save SamTowne/c4b1433840e5b1e37f9256756a9609a9 to your computer and use it in GitHub Desktop.
Terraform project pre-commit config
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.68.0
hooks:
- id: terraform_fmt
args:
- --args=-recursive
- id: terraform_docs
- id: terraform_tflint
- id: terraform_validate
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.6.2"
hooks:
- id: prettier
types_or: [markdown]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment