-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (41 loc) · 1.13 KB
/
.pre-commit-config.yaml
File metadata and controls
41 lines (41 loc) · 1.13 KB
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
name: End of File Fixer
- id: trailing-whitespace
name: Trailing Whitespace Fixer
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.105.0
hooks:
- id: terraform_fmt
name: Terraform Formatter
- id: terraform_trivy
name: Terraform Trivy Security Scan
files: ^red-instance/.*\.tf$
- repo: https://github.com/terraform-docs/terraform-docs
rev: v0.21.0
hooks:
- id: terraform-docs-go
name: Generating Terraform Docs
args:
[
"markdown",
"table",
"--output-file",
"../README.md",
"red-instance/.",
]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
name: Pretty Markdown
args: [--prose-wrap=always]
types_or: [markdown, yaml]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
hooks:
- id: gitleaks
name: Gitleaks Scanner