Saltstack Official OpenSSH 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.

42 lines
1.1KB

  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 `.cache/`, introduced during the GitLab CI run
  8. # 2. All YAML files under directory `.git/`
  9. # 3. All YAML files under directory `node_modules/`, introduced during the Travis run
  10. # 4. Any SLS files under directory `test/`, which are actually state files
  11. # 5. Any YAML files under directory `.kitchen/`, introduced during local testing
  12. ignore: |
  13. .cache/
  14. .git/
  15. node_modules/
  16. test/**/states/**/*.sls
  17. .kitchen/
  18. test/salt/pillar/default.sls
  19. yaml-files:
  20. # Default settings
  21. - '*.yaml'
  22. - '*.yml'
  23. - .salt-lint
  24. - .yamllint
  25. # SaltStack Formulas additional settings
  26. - '*.example'
  27. - test/**/*.sls
  28. rules:
  29. empty-values:
  30. forbid-in-block-mappings: true
  31. forbid-in-flow-mappings: true
  32. line-length:
  33. # Increase from default of `80`
  34. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  35. max: 88
  36. octal-values:
  37. forbid-implicit-octal: true
  38. forbid-explicit-octal: true