-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
40 lines (39 loc) · 1.17 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- id: yamllint
name: Run yamllint
description: Lint yaml files
entry: yamllint -c .github/.yamllint-config.yaml
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.28.0
hooks:
- id: markdownlint
name: Run markdownlint
description: Lint markdown files
entry: markdownlint -c .github/.markdownlint.yaml
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.12
hooks:
- id: markdown-link-check
name: Run markdown-link-check
description: Check link in markdown files
- id: shellcheck
name: Run shellcheck
description: Performs linting on bash scripts
- repo: local
hooks:
- id: check-sops-secrets
name: Check for unencrypted SOPS secrets
entry: ./hack/check-sops-secrets-hook.sh
language: script
files: \.(ya?ml)$