chore: update pre-commit and fix golangci-lint

This commit is contained in:
2023-05-19 11:22:51 +02:00
parent d913742236
commit 78e2f210cf
2 changed files with 7 additions and 2 deletions
+5 -2
View File
@@ -22,7 +22,7 @@ repos:
- --project
- unboundsoftware/schemas
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.3.0
rev: v9.5.0
hooks:
- id: commitlint
stages: [ commit-msg ]
@@ -39,6 +39,9 @@ repos:
rev: v0.0.1
hooks:
- id: go-test
- id: golangci-lint
- id: gofumpt
- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
hooks:
- id: golangci-lint
exclude: '^graph/generated/.*$|^graph/model/models_gen.go|^tools/.*$$'