.pre-commit-config.yaml 625 B

12345678910111213141516171819
  1. ---
  2. # See https://pre-commit.com for more information
  3. # See https://pre-commit.com/hooks.html for more hooks
  4. repos:
  5. - repo: https://github.com/pre-commit/pre-commit-hooks
  6. rev: v3.2.0
  7. hooks:
  8. - id: trailing-whitespace
  9. - id: end-of-file-fixer
  10. - id: check-yaml
  11. - id: check-added-large-files
  12. # Alternative semantic commit checker
  13. - repo: https://github.com/compilerla/conventional-pre-commit
  14. rev: v3.1.0
  15. hooks:
  16. - id: conventional-pre-commit
  17. stages: [commit-msg]
  18. args: [] # optional: list of Conventional Commits types to allow e.g. [feat, fix, ci, chore, test]