2023-10-05 10:14:04 +02:00
|
|
|
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-05-05 12:58:43 +02:00
|
|
|
rev: v4.6.0
|
2023-10-05 10:14:04 +02:00
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-byte-order-marker
|
|
|
|
- repo: https://github.com/fsfe/reuse-tool
|
2024-05-05 12:58:43 +02:00
|
|
|
rev: v3.0.2
|
2023-10-05 10:14:04 +02:00
|
|
|
hooks:
|
|
|
|
- id: reuse
|
|
|
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
2023-11-13 14:19:59 +01:00
|
|
|
rev: '2.7.3'
|
2023-10-05 10:14:04 +02:00
|
|
|
hooks:
|
|
|
|
- id: editorconfig-checker
|
|
|
|
alias: ec
|
2023-10-05 11:07:22 +02:00
|
|
|
stages: [commit]
|
|
|
|
- repo: https://github.com/compilerla/conventional-pre-commit
|
2024-05-05 12:58:43 +02:00
|
|
|
rev: v3.2.0
|
2023-10-05 11:07:22 +02:00
|
|
|
hooks:
|
2023-10-05 14:26:09 +02:00
|
|
|
- id: conventional-pre-commit
|
|
|
|
stages: [commit-msg]
|
2023-11-13 14:20:31 +01:00
|
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
2024-05-05 12:58:43 +02:00
|
|
|
rev: v0.40.0
|
2023-11-13 14:20:31 +01:00
|
|
|
hooks:
|
|
|
|
- id: markdownlint
|
|
|
|
- repo: https://github.com/koalaman/shellcheck-precommit
|
2024-05-05 12:58:43 +02:00
|
|
|
rev: v0.10.0
|
2023-11-13 14:20:31 +01:00
|
|
|
hooks:
|
|
|
|
- id: shellcheck
|
2023-10-05 14:26:09 +02:00
|
|
|
- repo: https://git.schmidl.dev/schtobia/woodpecker-lint
|
2024-05-05 12:58:43 +02:00
|
|
|
rev: v1.1.0
|
2023-10-05 14:26:09 +02:00
|
|
|
hooks:
|
|
|
|
- id: woodpecker-lint
|
2023-10-05 10:14:04 +02:00
|
|
|
...
|