-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
58 lines (50 loc) · 1.39 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
default_install_hook_types:
- pre-commit
- commit-msg
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=* ]
stages: [ commit ]
- id: end-of-file-fixer
stages: [ commit ]
- id: check-added-large-files
stages: [ commit ]
- id: check-yaml
args:
- '--allow-multiple-documents'
stages: [ commit ]
- id: mixed-line-ending
args: [ --fix=lf ]
stages: [ commit ]
- id: check-shebang-scripts-are-executable
stages: [ commit ]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.1.0
hooks:
- id: conventional-pre-commit
stages: [ commit-msg ]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
hooks:
- id: gitleaks
stages: [ commit ]
- repo: https://github.com/tfsec/tfsec
rev: v1.28.5
hooks:
- id: tfsec
args: [ --no-color ]
stages: [ commit ]
- repo: https://github.com/rhysd/actionlint
rev: v1.6.27
hooks:
- id: actionlint
stages: [ commit ]
- repo: https://github.com/terraform-docs/terraform-docs
rev: v0.17.0
hooks:
- id: terraform-docs-go
args: [ "markdown", "table", "--output-file", "README.md", "./terragrunt" ]
stages: [ commit ]