Saltstack Official Logrotate Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
952B

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