chore: update pre-commit and fix golangci-lint

This commit is contained in:
2023-05-18 20:10:00 +02:00
parent 9f83b042e3
commit cabe6a7003
2 changed files with 8 additions and 4 deletions
+6 -4
View File
@@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -20,7 +20,7 @@ repos:
- --project
- unboundsoftware/gitlab-cleanup-handler
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.1.0
rev: v9.5.0
hooks:
- id: commitlint
stages: [ commit-msg ]
@@ -32,6 +32,8 @@ repos:
- id: go-fmt-goimports
- id: go-test
- id: go-vet
- id: golangci-lint
- id: gofumpt
- id: staticcheck
- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
hooks:
- id: golangci-lint