Saltstack Official Apt Formula
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.

36 lines
927B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. # Extend the `default` configuration provided by `yamllint`
  5. extends: default
  6. # Files to ignore completely
  7. # 1. All YAML files under directory `node_modules/`, introduced during the Travis run
  8. # 2. Any SLS files under directory `test/`, which are actually state files
  9. # 3. Any YAML files under directory `.kitchen/`, introduced during local testing
  10. ignore: |
  11. node_modules/
  12. test/**/states/**/*.sls
  13. .kitchen/
  14. yaml-files:
  15. # Default settings
  16. - '*.yaml'
  17. - '*.yml'
  18. - .yamllint
  19. # SaltStack Formulas additional settings
  20. - '*.example'
  21. - test/**/*.sls
  22. rules:
  23. empty-values:
  24. forbid-in-block-mappings: true
  25. forbid-in-flow-mappings: true
  26. line-length:
  27. # Increase from default of `80`
  28. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  29. max: 88
  30. octal-values:
  31. forbid-implicit-octal: true
  32. forbid-explicit-octal: true