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

46 line
1.3KB

  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. # 6. `kitchen.vagrant.yml`, which contains Embedded Ruby (ERB) template syntax
  13. # 7. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
  14. ignore: |
  15. .cache/
  16. .git/
  17. node_modules/
  18. test/**/states/**/*.sls
  19. .kitchen/
  20. kitchen.vagrant.yml
  21. salt/osfamilymap.yaml
  22. salt/osmap.yaml
  23. yaml-files:
  24. # Default settings
  25. - '*.yaml'
  26. - '*.yml'
  27. - .salt-lint
  28. - .yamllint
  29. # SaltStack Formulas additional settings
  30. - '*.example'
  31. - test/**/*.sls
  32. rules:
  33. empty-values:
  34. forbid-in-block-mappings: true
  35. forbid-in-flow-mappings: true
  36. line-length:
  37. # Increase from default of `80`
  38. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  39. max: 88
  40. octal-values:
  41. forbid-implicit-octal: true
  42. forbid-explicit-octal: true