From 4f3438bb78aed03c08873582a30868a8d88391df Mon Sep 17 00:00:00 2001 From: Christian Huth Date: Tue, 1 Oct 2024 12:43:39 +0200 Subject: [PATCH] Create yamllint.yaml --- .github/config/yamllint.yaml | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/config/yamllint.yaml diff --git a/.github/config/yamllint.yaml b/.github/config/yamllint.yaml new file mode 100644 index 0000000..8e64eb2 --- /dev/null +++ b/.github/config/yamllint.yaml @@ -0,0 +1,40 @@ +--- +rules: + braces: + min-spaces-inside: 0 + max-spaces-inside: 0 + min-spaces-inside-empty: -1 + max-spaces-inside-empty: -1 + brackets: + min-spaces-inside: 0 + max-spaces-inside: 0 + min-spaces-inside-empty: -1 + max-spaces-inside-empty: -1 + colons: + max-spaces-before: 0 + max-spaces-after: 1 + commas: + max-spaces-before: 0 + min-spaces-after: 1 + max-spaces-after: 1 + comments: + require-starting-space: true + min-spaces-from-content: 1 + document-end: disable + document-start: disable + empty-lines: + max: 2 + max-start: 0 + max-end: 0 + hyphens: + max-spaces-after: 1 + indentation: + spaces: consistent + indent-sequences: whatever + check-multi-line-strings: false + key-duplicates: enable + line-length: disable + new-line-at-end-of-file: enable + trailing-spaces: enable + truthy: + level: warning