]> Frank Brehm's Git Trees - pixelpark/puppet-tools.git/commitdiff
Adding .yamllint.yaml
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 15 Feb 2023 17:25:57 +0000 (18:25 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 15 Feb 2023 17:25:57 +0000 (18:25 +0100)
.yamllint.yaml [new file with mode: 0644]

diff --git a/.yamllint.yaml b/.yamllint.yaml
new file mode 100644 (file)
index 0000000..5a37a1b
--- /dev/null
@@ -0,0 +1,49 @@
+---
+rules:
+  braces:
+    min-spaces-inside: 0
+    max-spaces-inside: 1
+    min-spaces-inside-empty: 0
+    max-spaces-inside-empty: 1
+  brackets:
+    min-spaces-inside: 0
+    max-spaces-inside: 1
+    min-spaces-inside-empty: 0
+    max-spaces-inside-empty: 1
+  colons:
+    max-spaces-before: 0
+    max-spaces-after: 1
+  commas:
+    max-spaces-before: 1
+    min-spaces-after: 1
+    max-spaces-after: 1
+  comments:
+    level: warning
+    require-starting-space: true
+    min-spaces-from-content: 2
+  comments-indentation: disable
+  document-end: disable
+  document-start:
+    level: warning
+    present: true
+  empty-lines:
+    max: 2
+    max-start: 0
+    max-end: 1
+  hyphens:
+    max-spaces-after: 1
+  indentation:
+    spaces: consistent
+    indent-sequences: true
+    check-multi-line-strings: false
+  key-duplicates: enable
+  line-length:
+    level: warning
+    allow-non-breakable-inline-mappings: true
+    max: 199
+  new-line-at-end-of-file: enable
+  new-lines:
+    type: unix
+  trailing-spaces: enable
+  truthy:
+    level: warning