-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
51 lines (51 loc) · 1.26 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
51 lines (51 loc) · 1.26 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
42
43
44
45
46
47
48
49
50
51
---
fail_fast: false
exclude: |
(?x)^(
| .*\.sops\.toml
)$
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
hooks:
- id: gitleaks
- repo: https://github.com/JoC0de/pre-commit-prettier
rev: "v3.7.4"
hooks:
- id: prettier
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: "v1.104.0"
hooks:
- id: terraform_fmt
- id: terraform_tflint
- repo: https://github.com/adrienverge/yamllint
rev: "v1.37.1"
hooks:
- id: yamllint
args:
- -c
- ".yamllint.yml"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v6.0.0"
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: check-added-large-files
args: [--maxkb=2048]
- id: check-merge-conflict
- id: check-executables-have-shebangs
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: "v1.5.5"
hooks:
- id: forbid-crlf
- id: forbid-tabs
- repo: https://github.com/sirosen/fix-smartquotes
rev: "0.2.0"
hooks:
- id: fix-smartquotes
- repo: https://github.com/k8s-at-home/sops-pre-commit
rev: "v2.1.1"
hooks:
- id: forbid-secrets