generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
55 lines (55 loc) · 1.52 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
---
fail_fast: false
repos:
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- args:
- --config-file
- .github/lint/.yamllint.yaml
id: yamllint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: |
(?x)(
bootstrap/remote/playbooks/proxmox_hosts/roles/opnsense_hosts/files/install\.txt
)
- id: end-of-file-fixer
exclude: |
(?x)(
bootstrap/remote/playbooks/proxmox_hosts/roles/opnsense_hosts/files/install\.txt
)
- id: mixed-line-ending
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.10
hooks:
- id: remove-crlf
- id: remove-tabs
exclude: |
(?x)(
.*/templates/.*|
.*\.md|
bootstrap/remote/playbooks/proxmox_hosts/roles/opnsense_hosts/files/install\.txt
)
- repo: https://github.com/sirosen/fix-smartquotes
rev: 0.2.0
hooks:
- id: fix-smartquotes
exclude: |
(?x)(
.*\.md
)
- repo: https://github.com/k8s-at-home/sops-pre-commit
rev: v2.0.3
hooks:
- id: forbid-secrets
exclude: |
(?x)(
tmpl/.*|
cluster/apps/tools/minio/app-config/loki-chart\.yaml|
cluster/core/cert-manager/secret\.yaml|
cluster/apps/networking/cloudflare-credentials\.yaml
)