Files
dbsetup/.pre-commit-config.yaml
T
argoyle e201b66f3d
dbsetup / test (pull_request) Successful in 2m0s
dbsetup / vulnerabilities (pull_request) Successful in 2m47s
chore: migrate module path from gitlab.com to git.unbound.se
- Update go.mod module path to git.unbound.se/unboundsoftware/dbsetup
- Remove gitlab-ci-linter pre-commit hook (not applicable for Gitea)
- Update go-imports local path for new domain
- Update CLAUDE.md documentation with new paths
- Remove GitLab-specific badges from README.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 08:01:34 +01:00

40 lines
1022 B
YAML

# 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
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.23.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
- git.unbound.se/unboundsoftware/shiny/presenter
- repo: https://github.com/lietu/go-pre-commit
rev: v1.0.0
hooks:
- id: go-test
- id: gofumpt
- repo: https://github.com/golangci/golangci-lint
rev: v2.8.0
hooks:
- id: golangci-lint-full
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
hooks:
- id: gitleaks