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

40 lines
1021B

  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 `node_modules/`, introduced during the Travis run
  8. # 2. Any SLS files under directory `test/`, which are actually state files
  9. # 3. Any YAML files under directory `.kitchen/`, introduced during local testing
  10. ignore: |
  11. node_modules/
  12. test/**/states/**/*.sls
  13. .kitchen/
  14. test/salt/pillar/modules.sls
  15. test/salt/pillar/default.sls
  16. pillar.example
  17. yaml-files:
  18. # Default settings
  19. - '*.yaml'
  20. - '*.yml'
  21. - .salt-lint
  22. - .yamllint
  23. # SaltStack Formulas additional settings
  24. - '*.example'
  25. - test/**/*.sls
  26. rules:
  27. empty-values:
  28. forbid-in-block-mappings: true
  29. forbid-in-flow-mappings: true
  30. line-length:
  31. # Increase from default of `80`
  32. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  33. max: 88
  34. octal-values:
  35. forbid-implicit-octal: true
  36. forbid-explicit-octal: true