add yamllint [skip ci]

This commit is contained in:
surtur 2022-08-02 15:13:39 +02:00
parent 20c220ffee
commit d0c61e4847
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 18 additions and 0 deletions

@ -14,4 +14,9 @@ repos:
language: system language: system
entry: docker-compose -f docker-compose.yml config entry: docker-compose -f docker-compose.yml config
pass_filenames: false pass_filenames: false
- id: yamllint
name: yamllint
language: system
entry: yamllint .
pass_filenames: false
... ...

13
.yamllint Normal file

@ -0,0 +1,13 @@
---
yaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'
rules:
line-length:
level: warning
# vim: ft=yaml bs=2 ts=2
...