Saltstack Official Salt Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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