From a28f7dbaee823741c1f64809e9ee54e3f8f69dd6 Mon Sep 17 00:00:00 2001 From: lae Date: Fri, 15 Nov 2024 02:24:50 +0900 Subject: [PATCH] Update YAMLLint rules to be inline with Ansible conventions --- .yamllint.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.yamllint.yml b/.yamllint.yml index ab8face..f536726 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -1,5 +1,17 @@ --- -yaml: - rules: - line-length: - max: 120 +extends: default +rules: + line-length: + max: 120 + braces: + max-spaces-inside: 1 + level: error + brackets: + max-spaces-inside: 1 + level: error + truthy: + allowed-values: + - 'true' + - 'yes' + - 'false' + - 'no'