Make yamllint config strict.

This commit is contained in:
Felix Fontein 2025-04-26 13:43:05 +02:00
parent 4c93048933
commit 6a6624db9a
2 changed files with 7 additions and 3 deletions

View File

@ -45,9 +45,9 @@ rules:
braces:
min-spaces-inside: 0
max-spaces-inside: 1
#octal-values:
# forbid-implicit-octal: true
# forbid-explicit-octal: true
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
comments:
min-spaces-from-content: 1
comments-indentation: false

View File

@ -274,7 +274,9 @@
content: |
Content 1
container_path: '/file'
# yamllint disable
mode: 0770
# yamllint enable
mode_parse: modern
owner_id: 0
group_id: 0
@ -298,7 +300,9 @@
content: |
Content 1
container_path: '/file'
# yamllint disable
mode: 0707
# yamllint enable
mode_parse: legacy
owner_id: 0
group_id: 0