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.

17 lines
578 B

  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. repos:
  4. - repo: https://github.com/pre-commit/pre-commit-hooks
  5. rev: v3.2.0
  6. hooks:
  7. - id: trailing-whitespace
  8. - id: end-of-file-fixer
  9. - id: check-yaml
  10. - id: check-added-large-files
  11. args: ["--maxkb=10000"]
  12. - repo: https://github.com/compilerla/conventional-pre-commit
  13. rev: v1.2.0
  14. hooks:
  15. - id: conventional-pre-commit
  16. stages: [commit-msg]
  17. args: [] # optional: list of Conventional Commits types to allow