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

31 lines
754B

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