add yamllint [skip ci]
This commit is contained in:
parent
20c220ffee
commit
d0c61e4847
@ -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
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
|
||||||
|
...
|
Loading…
Reference in New Issue
Block a user