-
Notifications
You must be signed in to change notification settings - Fork 11
/
.pre-commit-config.yaml
43 lines (43 loc) · 1.5 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
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: 43fae355e6fe4d99d2a7b240a224b85e2903aeb4 # v8.21.2
hooks:
- id: gitleaks
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: a23f6b85d0fdd5bb9d564e2579e678033debbdff # v0.10.0.1
hooks:
- id: shellcheck
# - repo: https://github.com/adrienverge/yamllint.git
# rev: v1.33.0
# hooks:
# - id: yamllint
- repo: https://github.com/compilerla/conventional-pre-commit
rev: fab6a95091c567b872099a98cad586c122f55dc8 #v3.6.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: []
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: 0d9fcb51a54f3b750b911c054b4bd1a590f1b592 #v0.43.0
hooks:
- id: markdownlint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # v3.2.0
hooks:
- id: prettier
- repo: https://github.com/bridgecrewio/checkov.git
rev: 6c3c39a25d24dd2259e4af1e5a7528d5c61af206 # 3.2.342
hooks:
- id: checkov
# v3.1.0 https://api.github.com/repos/compilerla/conventional-pre-commit/tags
# - repo: https://github.com/ansible/ansible-lint.git
# rev: v6.22.1
# hooks:
# - id: ansible-lint
# files: \.(yaml|yml)$
# name: Ansible Lint
# description: Run configurations on .ansible-lint file
# entry: python3 -m ansiblelint --force-color
# always_run: false
# additional_dependencies:
# - "jmespath"