repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.55.0 # verify this is latest version
hooks:
- id: terraform_fmt
- id: terraform_docs
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0 # Use the ref you want to point at - check for updates
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: check-symlinks
- id: detect-aws-credentials
args: [ --allow-missing-credentials]
- id: detect-private-key
- id: no-commit-to-branch # defaults to master
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Last active
January 5, 2022 07:14
-
-
Save slaughtr/92d1d48addccd3fff77a0b5ddb811a2f to your computer and use it in GitHub Desktop.
pre-commit terraform
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment