Create your ansible collection from it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
674 B

  1. ---
  2. # Based on ansible-lint config
  3. extends: default
  4. yaml-files:
  5. - '*.yaml'
  6. - '*.yml'
  7. rules:
  8. braces:
  9. max-spaces-inside: 1
  10. level: error
  11. brackets:
  12. max-spaces-inside: 1
  13. level: error
  14. colons:
  15. max-spaces-after: -1
  16. level: error
  17. commas:
  18. max-spaces-after: -1
  19. level: error
  20. comments: disable
  21. comments-indentation: disable
  22. document-start: disable
  23. empty-lines:
  24. max: 3
  25. level: error
  26. hyphens:
  27. level: error
  28. indentation: disable
  29. key-duplicates: enable
  30. new-line-at-end-of-file: disable
  31. new-lines:
  32. type: unix
  33. trailing-spaces: disable
  34. truthy: disable
  35. line-length:
  36. max: 128
  37. ignore: |
  38. ansible_collections