File tree Expand file tree Collapse file tree 1 file changed +24
-11
lines changed
Expand file tree Collapse file tree 1 file changed +24
-11
lines changed Original file line number Diff line number Diff line change 11repos :
2- - repo : https://github.com/squareops/pre-commit
3- rev : v0.1.12
4- hooks :
5- - id : terraform-fmt
6- - id : terraform-validate
7- - id : tflint
8- - repo : https://github.com/squareops/pre-commit-terraform
9- rev : v1.47.0
10- hooks :
11- - id : terraform_docs
122 - repo : https://github.com/pre-commit/pre-commit-hooks
133 rev : v4.1.0
144 hooks :
5+ - id : trailing-whitespace
6+ args : ['--markdown-linebreak-ext=md']
7+ - id : end-of-file-fixer
158 - id : check-merge-conflict
16- # - id: end-of-file-fixer
9+ - id : detect-private-key
10+ - id : detect-aws-credentials
11+ args : ['--allow-missing-credentials']
12+ - repo : https://github.com/antonbabenko/pre-commit-terraform
13+ rev : v1.77.0
14+ hooks :
15+ - id : terraform_fmt
16+ - id : terraform_docs
17+ args :
18+ - ' --args=--lockfile=false'
19+ - --hook-config=--add-to-existing-file=true
20+ - --hook-config=--create-file-if-not-exist=true
21+
22+ - id : terraform_tflint
23+ args :
24+ - --args=--config=.tflint.hcl
25+ - id : terraform_tfsec
26+ files : ^examples/ # only scan `examples/*` which are the implementation
27+ args :
28+ - --args=--config-file=__GIT_WORKING_DIR__/tfsec.yaml
29+ - --args=--concise-output
You can’t perform that action at this time.
0 commit comments