forked from vultr/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
58 lines (58 loc) · 1.76 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.5.0
hooks:
- id: commitlint
stages: [ commit-msg ]
additional_dependencies: [ "conventional-changelog" ]
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 37.49.3
hooks:
- id: renovate-config-validator
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
rev: v1.1.2
hooks:
- id: htmlhint
# optional custom config:
args: [ --config, .htmlhintrc ]
# - id: htmllint
- id: markdown-toc
# optional custom config:
args: [ --indent, " ", -i ]
- id: dockerfile_lint
# optional custom config:
args: [ --json, --verbose, --dockerfile ]
- repo: https://github.com/norwoodj/helm-docs.git
rev: master
hooks:
- id: helm-docs-built
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.23
hooks:
- id: helmlint
- id: shellcheck
args: [ "--enable require-variable-braces,deprecate-which" ]
- repo: https://github.com/bridgecrewio/checkov.git
rev: 3.0.24
hooks:
- id: checkov
args: [ -d . ]
# - repo: https://github.com/Agilicus/pre-commit-hook-k8svalidate.git
# rev: v0.2.0
# hooks:
# - id: k8svalidate
# files: .yaml$
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: detect-secrets
exclude: pnpm-lock.yaml
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: .*/README.md
- id: check-added-large-files