Skip to content

Instantly share code, notes, and snippets.

@grahamhayes
Last active August 8, 2017 16:20
Show Gist options
  • Save grahamhayes/48de6a32a9c049e7a828014a7b903bab to your computer and use it in GitHub Desktop.
Save grahamhayes/48de6a32a9c049e7a828014a7b903bab to your computer and use it in GitHub Desktop.
my `.yamllint` file
rules:
braces:
min-spaces-inside: 0
max-spaces-inside: 2
brackets:
min-spaces-inside: 0
max-spaces-inside: 0
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: yes
min-spaces-from-content: 2
comments-indentation:
level: warning
document-end: disable
document-start:
level: warning
present: yes
empty-lines:
max: 2
max-start: 0
max-end: 0
hyphens:
max-spaces-after: 1
indentation:
spaces: consistent
indent-sequences: yes
check-multi-line-strings: no
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: enable
new-lines:
type: unix
trailing-spaces: enable
truthy:
level: warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment