Skip to content

Commit

Permalink
Merge pull request #18 from terraform-modules/add_pre-commit
Browse files Browse the repository at this point in the history
add pre-commit
  • Loading branch information
badra001 committed Jul 17, 2020
2 parents 69489e6 + 4dcaa02 commit 105f964
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.31.0
hooks:
# - id: terraform_validate
- id: terraform_fmt
- id: terraform_docs_replace
args: ['table']
exclude: common/.*
exclude: version.tf

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
hooks:
- id: check-symlinks
- id: detect-aws-credentials
- id: detect-private-key
File renamed without changes.

0 comments on commit 105f964

Please sign in to comment.