provider-kairos/.yamllint
Dimitris Karakasilis c633dbd7fa
Use re-usable linting workflow (#376)
as part of https://github.com/kairos-io/kairos/issues/1234

---------

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-05-19 18:28:41 +03:00

27 lines
610 B
Plaintext

extends: default
rules:
# 80 chars should be enough, but don't fail if a line is longer
line-length:
max: 150
level: warning
ignore: "tests/assets/qrcode.yaml" # tokens are big
# accept both key:
# - item
#
# and key:
# - item
indentation:
indent-sequences: whatever
truthy:
check-keys: false
document-start:
present: false
ignore: "*" # There are multiple yamls in the same file, we need this sometimes
comments:
ignore: "tests/assets/*" # our #cloud-config header doesn't take a space after the "#"