Skip to content

Commit

Permalink
Exclude the yaml template from the linter
Browse files Browse the repository at this point in the history
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 <anders.f.bjorklund@gmail.com>
  • Loading branch information
afbjorklund committed Jul 6, 2023
1 parent 4d174a7 commit d647277
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d647277

Please sign in to comment.