add yamllint

This commit is contained in:
pat-s 2024-04-27 23:40:37 +02:00
parent e45a354eef
commit dd4b3b576b
No known key found for this signature in database
GPG key ID: 3C6318841EF78925
3 changed files with 35 additions and 9 deletions

19
.yamllint.yaml Normal file
View file

@ -0,0 +1,19 @@
extends: default
rules:
comments:
require-starting-space: false
ignore-shebangs: true
min-spaces-from-content: 1
braces:
min-spaces-inside: 1
max-spaces-inside: 1
document-start:
present: false
indentation:
spaces: 2
indent-sequences: true
line-length:
max: 256
new-lines:
type: unix