From 88d13ff3d6d52e766db4618fe905f371fd3830eb Mon Sep 17 00:00:00 2001 From: Kristoffer Date: Wed, 15 Jul 2026 17:01:57 +0200 Subject: [PATCH] lint: align yamllint with ansible-lint Signed-off-by: Kristoffer --- .yamllint | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.yamllint b/.yamllint index 75da2b702..5fc2c40eb 100644 --- a/.yamllint +++ b/.yamllint @@ -1,5 +1,16 @@ --- extends: default +# Keep this custom configuration compatible with ansible-lint's `yaml` rule. +# See https://docs.ansible.com/projects/lint/rules/yaml/#yamllint-configuration rules: + braces: + min-spaces-inside: 0 + max-spaces-inside: 1 + comments: + min-spaces-from-content: 1 + comments-indentation: false line-length: disable + octal-values: + forbid-explicit-octal: true + forbid-implicit-octal: true