2025-06-10 18:46:50 +02:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2025-08-09 19:54:51 +00:00
|
|
|
rev: v6.0.0
|
2025-06-10 18:46:50 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
args:
|
|
|
|
|
- --allow-multiple-documents
|
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
|
|
|
|
|
rev: v1.0.6
|
|
|
|
|
hooks:
|
|
|
|
|
- id: gitlab-ci-linter
|
|
|
|
|
args:
|
|
|
|
|
- --project
|
|
|
|
|
- unboundsoftware/dbsetup
|
|
|
|
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
|
|
|
|
rev: v9.22.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
|
|
|
|
|
- gitlab.com/unboundsoftware/shiny/presenter
|
|
|
|
|
- repo: https://github.com/lietu/go-pre-commit
|
|
|
|
|
rev: v0.1.0
|
|
|
|
|
hooks:
|
|
|
|
|
- id: go-test
|
|
|
|
|
- id: gofumpt
|
|
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
2025-08-13 20:54:28 +00:00
|
|
|
rev: v2.4.0
|
2025-06-10 18:46:50 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: golangci-lint-full
|
|
|
|
|
- repo: https://github.com/gitleaks/gitleaks
|
2025-07-20 16:53:38 +00:00
|
|
|
rev: v8.28.0
|
2025-06-10 18:46:50 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: gitleaks
|