Saltstack Official Nginx Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

49 lines
1.5KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. # See https://pre-commit.com for more information
  5. # See https://pre-commit.com/hooks.html for more hooks
  6. default_stages: [commit]
  7. repos:
  8. - repo: https://github.com/dafyddj/commitlint-pre-commit-hook
  9. rev: v2.3.0
  10. hooks:
  11. - id: commitlint
  12. name: Check commit message using commitlint
  13. description: Lint commit message against @commitlint/config-conventional rules
  14. stages: [commit-msg]
  15. additional_dependencies: ['@commitlint/config-conventional@8.3.4']
  16. - id: commitlint-travis
  17. stages: [manual]
  18. additional_dependencies: ['@commitlint/config-conventional@8.3.4']
  19. always_run: true
  20. - repo: https://github.com/jumanjihouse/pre-commit-hooks
  21. rev: 2.1.3
  22. hooks:
  23. - id: shellcheck
  24. name: Check shell scripts with shellcheck
  25. files: ^.*\.(sh|bash|ksh)$
  26. types: []
  27. args: []
  28. - repo: https://github.com/adrienverge/yamllint
  29. rev: v1.23.0
  30. hooks:
  31. - id: yamllint
  32. name: Check YAML syntax with yamllint
  33. args: [--strict, '.']
  34. always_run: true
  35. pass_filenames: false
  36. - repo: https://github.com/warpnet/salt-lint
  37. rev: v0.3.0
  38. hooks:
  39. - id: salt-lint
  40. name: Check Salt files using salt-lint
  41. files: ^.*\.(sls|jinja|j2|tmpl|tst)$
  42. - repo: https://github.com/myint/rstcheck
  43. rev: 3f929574
  44. hooks:
  45. - id: rstcheck
  46. name: Check reST files using rstcheck
  47. exclude: 'docs/CHANGELOG.rst'
  48. args: [--report=warning]