Saltstack Official Salt Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

49 líneas
1.4KB

  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 `.bundle/`, introduced if gems are installed locally
  8. # 2. All YAML files under directory `.cache/`, introduced during the CI run
  9. # 3. All YAML files under directory `.git/`
  10. # 4. All YAML files under directory `node_modules/`, introduced during the CI run
  11. # 5. Any SLS files under directory `test/`, which are actually state files
  12. # 6. Any YAML files under directory `.kitchen/`, introduced during local testing
  13. # 7. `kitchen.vagrant.yml`, which contains Embedded Ruby (ERB) template syntax
  14. # 8. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
  15. ignore: |
  16. .bundle/
  17. .cache/
  18. .git/
  19. node_modules/
  20. test/**/states/**/*.sls
  21. .kitchen/
  22. kitchen.vagrant.yml
  23. salt/osfamilymap.yaml
  24. salt/osmap.yaml
  25. salt/osfingermap.yaml
  26. yaml-files:
  27. # Default settings
  28. - '*.yaml'
  29. - '*.yml'
  30. - .salt-lint
  31. - .yamllint
  32. # SaltStack Formulas additional settings
  33. - '*.example'
  34. - test/**/*.sls
  35. rules:
  36. empty-values:
  37. forbid-in-block-mappings: true
  38. forbid-in-flow-mappings: true
  39. line-length:
  40. # Increase from default of `80`
  41. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  42. max: 88
  43. octal-values:
  44. forbid-implicit-octal: true
  45. forbid-explicit-octal: true