Files
gitlab-cleanup-handler/.pre-commit-config.yaml
T
renovate e8d96aba83
gitlab-cleanup-handler / test (pull_request) Successful in 1m34s
gitlab-cleanup-handler / vulnerabilities (pull_request) Successful in 1m50s
gitlab-cleanup-handler / build (pull_request) Successful in 11m37s
chore(deps): update pre-commit hook golangci/golangci-lint to v2.11.2
2026-03-07 22:05:07 +00:00

42 lines
1.0 KiB
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
- id: check-added-large-files
- repo: https://github.com/markdownlint/markdownlint
rev: v0.15.0
hooks:
- id: markdownlint
args:
- -r ~MD024
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
rev: v1.0.6
hooks:
- id: gitlab-ci-linter
args:
- --project
- unboundsoftware/gitlab-cleanup-handler
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.24.0
hooks:
- id: commitlint
stages: [ commit-msg ]
additional_dependencies: [ '@commitlint/config-conventional' ]
- repo: https://github.com/lietu/go-pre-commit
rev: v1.0.0
hooks:
- id: errcheck
- id: go-fmt-goimports
- id: go-test
- id: go-vet
- id: gofumpt
- repo: https://github.com/golangci/golangci-lint
rev: v2.11.2
hooks:
- id: golangci-lint