forked from timmermansjoy/VoxelBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
53 lines (53 loc) · 1.56 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
exclude: argocd/crds/7.3.6/applicationset-crd.yaml
- id: check-case-conflict
- id: check-shebang-scripts-are-executable
- id: check-yaml
args:
- --allow-multiple-document
exclude: apps/platform/atlantis/templates/.*yaml|argocd/crds/.*yaml
- id: detect-aws-credentials
args:
- --allow-missing-credentials
- id: end-of-file-fixer
- id: mixed-line-ending
- id: pretty-format-json
- id: trailing-whitespace
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
hooks:
- id: forbid-tabs
exclude_types:
- makefile
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.36.0
hooks:
- id: markdownlint
- id: markdownlint-fix
- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
hooks:
- id: yamllint
entry: yamllint --config-file .yamllint.yaml
exclude: apps/platform/atlantis/templates/.*yaml|argocd/crds/.*yaml
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: detect-secrets
args:
- --exclude-secrets
- '(auth|secretName|secretKey)'
- repo: https://github.com/rhysd/actionlint
rev: v1.7.0
hooks:
- id: actionlint
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]