Saltstack Official Apache Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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