From 620e869d11a7264af5ee2b2605f1f8cbd195514b Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Fri, 9 Nov 2018 23:05:40 +0100 Subject: [PATCH] Add YAML linter config Based on the errors and warnings of the first run --- .yamllint | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .yamllint diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..56aa114 --- /dev/null +++ b/.yamllint @@ -0,0 +1,57 @@ +--- + +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: + level: warning + require-starting-space: false + min-spaces-from-content: 1 + comments-indentation: + level: warning + document-end: disable + document-start: + level: warning + present: false + empty-lines: + max: 2 + max-start: 0 + max-end: 1 + level: warning + quoted-strings: disable + empty-values: + forbid-in-block-mappings: false + forbid-in-flow-mappings: false + hyphens: + max-spaces-after: 1 + indentation: + spaces: consistent + indent-sequences: whatever + check-multi-line-strings: false + key-duplicates: enable + key-ordering: disable + line-length: disable + new-line-at-end-of-file: disable + new-lines: + type: unix + octal-values: + forbid-implicit-octal: false + forbid-explicit-octal: false + trailing-spaces: enable + truthy: + level: warning