chore: update pre-commit and fix golangci-lint
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
run:
|
||||
allow-parallel-runners: true
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user