33 lines
791 B
YAML
33 lines
791 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
args:
|
|
- --allow-multiple-documents
|
|
- id: check-added-large-files
|
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
|
rev: v9.25.0
|
|
hooks:
|
|
- id: commitlint
|
|
stages: [commit-msg]
|
|
additional_dependencies: ['@commitlint/config-conventional']
|
|
- repo: https://github.com/dnephin/pre-commit-golang
|
|
rev: v0.5.1
|
|
hooks:
|
|
- id: go-mod-tidy
|
|
- id: go-imports
|
|
args:
|
|
- -local
|
|
- gitea.unbound.se/shiny/openpayments-mock
|
|
- repo: https://github.com/lietu/go-pre-commit
|
|
rev: v1.0.0
|
|
hooks:
|
|
- id: go-test
|
|
- repo: https://github.com/gitleaks/gitleaks
|
|
rev: v8.30.1
|
|
hooks:
|
|
- id: gitleaks
|