From 926ca3738e5a154e08b059946ca69f76793dcaef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Thu, 6 Jul 2023 13:52:56 +0200 Subject: [PATCH] Exclude the yaml template from the linter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is only possible to lint the executed template, not the raw "yaml". But it is syntax-checked by butane --strict anyway, so is not needed. Signed-off-by: Anders F Björklund --- .yamllint | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.yamllint b/.yamllint index a7c8c3f9e00..441e3e2dfd9 100644 --- a/.yamllint +++ b/.yamllint @@ -2,6 +2,10 @@ extends: default +ignore: | + # this is a yaml template, needs to executed + pkg/cidata/cidata.TEMPLATE.d/ignition.yaml + rules: indentation: indent-sequences: false