Skip to content

Instantly share code, notes, and snippets.

@giggio
Created May 19, 2022 19:40
Show Gist options
  • Save giggio/641c0633ec87cd4ea65303006688d1de to your computer and use it in GitHub Desktop.
Save giggio/641c0633ec87cd4ea65303006688d1de to your computer and use it in GitHub Desktop.
My yamllint config
# yamllint config: https://github.com/adrienverge/yamllint
---
yaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'
rules:
braces: enable
brackets: enable
colons: enable
commas: enable
comments:
level: warning
require-starting-space: true
ignore-shebangs: true
min-spaces-from-content: 1
comments-indentation:
level: warning
document-end: disable
document-start: disable
empty-lines: enable
empty-values: disable
hyphens: enable
indentation: enable
key-duplicates: enable
key-ordering: disable
line-length:
max: 120
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
new-line-at-end-of-file: enable
new-lines: disable
octal-values: disable
quoted-strings:
quote-type: double
required: only-when-needed
trailing-spaces: enable
truthy:
level: warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment