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

.yamllint 1.2KB

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