devicetype-library/.pre-commit-config.yaml

21 lines
564 B
YAML
Raw Normal View History

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-08-11 04:29:59 +02:00
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
name: Check YAML files
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
2022-08-11 04:29:59 +02:00
rev: 0.2.2
hooks:
- id: yamlfmt
args: [--mapping, '2', --sequence, '4', --offset, '2']
- repo: https://github.com/adrienverge/yamllint.git
2022-08-11 04:29:59 +02:00
rev: v1.27.1
hooks:
- id: yamllint
name: Lint YAML files
2022-08-11 04:29:59 +02:00
args: [--format, parsable, --strict]