.yamllint 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. extends: relaxed
  2. rules:
  3. quoted-strings:
  4. required: only-when-needed
  5. extra-allowed:
  6. - '[$^,[]'
  7. - '^/$'
  8. line-length:
  9. # 80 chars should be enough, but don't fail if a line is longer
  10. max: 110
  11. allow-non-breakable-words: true
  12. level: warning
  13. braces:
  14. min-spaces-inside: 0
  15. max-spaces-inside: 1
  16. min-spaces-inside-empty: 0
  17. max-spaces-inside-empty: 0
  18. brackets:
  19. min-spaces-inside: 0
  20. max-spaces-inside: 1
  21. min-spaces-inside-empty: 0
  22. max-spaces-inside-empty: 0
  23. colons: {max-spaces-before: 0, max-spaces-after: 1}
  24. commas: {min-spaces-after: 1, max-spaces-after: 1}
  25. comments:
  26. require-starting-space: true
  27. min-spaces-from-content: 1
  28. comments-indentation: disable
  29. document-start:
  30. present: true
  31. empty-lines:
  32. max: 3
  33. max-end: 1
  34. empty-values:
  35. forbid-in-block-mappings: true
  36. forbid-in-flow-mappings: true
  37. hyphens:
  38. max-spaces-after: 1
  39. indentation:
  40. spaces: 2
  41. indent-sequences: true
  42. check-multi-line-strings: false
  43. trailing-spaces: false