generated from mrsimonemms/new
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
64 lines (64 loc) · 1.67 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
repos:
- repo: https://github.com/mrsimonemms/pre-commit-hooks
rev: v1.2.0
hooks:
- id: license-eye
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: pretty-format-json
args:
- --autofix
- --no-sort-keys
- id: check-json
- id: check-yaml
exclude: ^modules
args:
- --allow-multiple-documents
- id: end-of-file-fixer
- id: trailing-whitespace
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.2.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
- repo: https://github.com/trussworks/pre-commit-hooks
rev: v1.1.1
hooks:
- id: markdown-toc
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
hooks:
- id: markdownlint-cli2
- repo: https://github.com/mrsimonemms/toodaloo
rev: v0.2.2
hooks:
- id: scan
- repo: https://github.com/terraform-docs/terraform-docs
rev: v0.18.0
hooks:
- id: terraform-docs-go
args:
- markdown
- .
- --recursive
- --recursive-include-main=false
- --output-file=README.md
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: "v1.91.0"
hooks:
- id: terraform_fmt
args:
- --args=-recursive
- id: terragrunt_fmt
args:
- --args=-recursive
- id: terraform_tflint
- id: terraform_trivy
- id: terraform_validate
exclude: ^stacks
- id: terragrunt_validate
files: ^stacks/(\w+)/(\w+)/.*