-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
39 lines (39 loc) · 1.49 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
---
default_language_version:
ruby: 2.7.2
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.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: 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # frozen: v1.35.1
hooks:
- id: yamllint
# line-length: Usually we test gh_action-release in this repo using a target branch instead of a tag before
# releasing it. It can't fit in small lines length
args: [-d, "{extends: default, rules: {line-length: {max: 200}}}"]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: f295829140d25717bc79368d3f966fc1f67a824f # frozen: v0.41.0
hooks:
- id: markdownlint
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 96ee1570b119e6337aafcc2f299bb0d902b68328 # frozen: 0.28.6
hooks:
- id: check-github-workflows
- id: check-renovate
- repo: https://github.com/hadolint/hadolint
rev: 80e0d3d0c58dcdcbced97854ab7c5cf00a5f1a86 # frozen: v2.13.0-beta
hooks:
- id: hadolint