Saltstack Official Syslog-NG 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.

44 lines
1.2KB

  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. ignore: |
  14. .cache/
  15. .git/
  16. node_modules/
  17. test/**/states/**/*.sls
  18. .kitchen/
  19. kitchen.vagrant.yml
  20. syslog_ng/osfamilymap.yaml
  21. yaml-files:
  22. # Default settings
  23. - '*.yaml'
  24. - '*.yml'
  25. - .salt-lint
  26. - .yamllint
  27. # SaltStack Formulas additional settings
  28. - '*.example'
  29. - test/**/*.sls
  30. rules:
  31. empty-values:
  32. forbid-in-block-mappings: true
  33. forbid-in-flow-mappings: true
  34. line-length:
  35. # Increase from default of `80`
  36. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  37. max: 88
  38. octal-values:
  39. forbid-implicit-octal: true
  40. forbid-explicit-octal: true