2023-10-28 21:58:59 +02:00
|
|
|
repos:
|
|
|
|
- repo: meta
|
|
|
|
hooks:
|
|
|
|
- id: check-hooks-apply
|
|
|
|
- id: check-useless-excludes
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-11-06 21:12:23 +02:00
|
|
|
rev: v4.5.0
|
2023-10-28 21:58:59 +02:00
|
|
|
hooks:
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
2023-11-06 21:12:23 +02:00
|
|
|
rev: v1.55.2
|
2023-10-28 21:58:59 +02:00
|
|
|
hooks:
|
|
|
|
- id: golangci-lint
|
|
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
|
|
rev: v0.37.0
|
|
|
|
hooks:
|
|
|
|
- id: markdownlint
|
2023-10-31 10:14:09 +02:00
|
|
|
exclude: '^docs/versioned_docs/.*$'
|
2023-10-28 21:58:59 +02:00
|
|
|
- repo: https://github.com/mrtazz/checkmake
|
|
|
|
rev: 0.2.2
|
|
|
|
hooks:
|
|
|
|
- id: checkmake
|
2023-10-31 10:14:09 +02:00
|
|
|
exclude: '^docker/Dockerfile.make$' # actually a Dockerfile and not a makefile
|
2023-10-28 21:58:59 +02:00
|
|
|
- repo: https://github.com/hadolint/hadolint
|
2023-11-06 21:12:23 +02:00
|
|
|
rev: v2.12.1-beta
|
2023-10-28 21:58:59 +02:00
|
|
|
hooks:
|
|
|
|
- id: hadolint
|
2023-11-19 23:47:14 +02:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
|
|
rev: v3.1.0
|
|
|
|
hooks:
|
|
|
|
- id: prettier
|
2023-12-29 13:51:02 +02:00
|
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
|
|
|
rev: v1.32.0
|
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
args: [--strict, -c=.yamllint.yaml]
|
2023-10-28 21:58:59 +02:00
|
|
|
|
|
|
|
ci:
|
|
|
|
autofix_commit_msg: |
|
|
|
|
[pre-commit.ci] auto fixes from pre-commit.com hooks [CI SKIP]
|
|
|
|
|
|
|
|
for more information, see https://pre-commit.ci
|
|
|
|
autofix_prs: true
|
|
|
|
autoupdate_branch: ''
|
|
|
|
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
|
|
|
|
autoupdate_schedule: monthly
|
2023-10-31 10:14:09 +02:00
|
|
|
# NB: hadolint not included in pre-commit.ci
|
|
|
|
skip: [check-hooks-apply, check-useless-excludes, hadolint]
|
2023-10-28 21:58:59 +02:00
|
|
|
submodules: false
|