-
Notifications
You must be signed in to change notification settings - Fork 8
/
.pre-commit-config.yaml
31 lines (31 loc) · 1.12 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
---
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3298ddab3c13dd77d6ce1fc0baf97691430d84b0 # frozen: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
args: [--unsafe] # does not support https://yaml.org/type/merge.html
- id: check-xml
- id: check-added-large-files
- repo: https://github.com/adrienverge/yamllint
rev: 9cce2940414e9560ae4c8518ddaee2ac1863a4d2 # frozen: v1.28.0
hooks:
- id: yamllint
args: [-d, "{extends: default, rules: {line-length: {max: 140}}}"]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: c9ea83146232fb263effdfe6f222d87f5395b27a # v0.39.0
hooks:
- id: markdownlint
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 9ff55b0adf11b603e0e2b4e1d639255278f4316f # frozen: 0.18.3
hooks:
- id: check-github-workflows
- id: check-renovate