chore(yamllint): exclude cloud-init files from comment and document-start rules

This commit is contained in:
Michele Cereda
2024-02-24 02:25:15 +01:00
parent f0f1166510
commit f63a4f4fbd
2 changed files with 12 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
assert_lefthook_installed: true ---
# assert_lefthook_installed: true
no_tty: true no_tty: true
lint: lint:

View File

@@ -5,6 +5,16 @@
extends: default extends: default
rules: rules:
comments:
ignore:
- 'cloud-init/*'
- 'examples/cloud-init/*'
- 'examples/terraform/multi-part cloud-init/*'
document-start:
ignore:
- 'cloud-init/*'
- 'examples/cloud-init/*'
- 'examples/terraform/multi-part cloud-init/*'
line-length: line-length:
level: warning level: warning
max: 120 max: 120