-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
76 lines (72 loc) · 1.92 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: detect-private-key
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0 # or specific git tag
hooks:
- id: shellcheck
args:
- "-e"
- "SC1090"
- "-e"
- "SC1091"
- repo: https://github.com/hadolint/hadolint
rev: "v2.12.0"
hooks:
- id: hadolint-docker
args:
- --ignore
- DL4006
- --ignore
- DL3015
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.30.0
hooks:
- id: check-github-workflows
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
name: Detect secrets
description: Detects high entropy strings that are likely to be passwords.
entry: detect-secrets-hook
language: python
# for backward compatibility
files: .* # all files
# ---
# fail_fast: false
# repos:
# - repo: https://github.com/adrienverge/yamllint
# rev: v1.27.1
# hooks:
# - args:
# - --config-file
# - .github/linters/.yamllint.yaml
# id: yamllint
# - repo: https://github.com/pre-commit/pre-commit-hooks
# rev: v4.3.0
# hooks:
# - id: trailing-whitespace
# - id: end-of-file-fixer
# - id: mixed-line-ending
# - repo: https://github.com/Lucas-C/pre-commit-hooks
# rev: v1.3.0
# hooks:
# - id: remove-crlf
# - id: remove-tabs
# - repo: https://github.com/sirosen/texthooks
# rev: 0.3.1
# hooks:
# - id: fix-smartquotes
# - repo: https://github.com/k8s-at-home/sops-pre-commit
# rev: v2.1.1
# hooks:
# - id: forbid-secrets