Saltstack Official Nginx Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

46 lines
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 `.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. ignore: |
  15. .bundle/
  16. .cache/
  17. .git/
  18. node_modules/
  19. test/**/states/**/*.sls
  20. .kitchen/
  21. kitchen.vagrant.yml
  22. test/salt/passenger/pillar/nginx.sls
  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