chore: update pre-commit and fix golangci-lint
This commit is contained in:
1 parent
d913742236
commit
78e2f210cf
2 files changed
+7
-2
No files matched your search
@@ -0,0 +1,2 @@
|
|||||||
|
run:
|
||||||
|
allow-parallel-runners: true
|
||||||
@@ -22,7 +22,7 @@ repos:
|
|||||||
- --project
|
- --project
|
||||||
- unboundsoftware/schemas
|
- unboundsoftware/schemas
|
||||||
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
||||||
rev: v9.3.0
|
rev: v9.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: commitlint
|
- id: commitlint
|
||||||
stages: [ commit-msg ]
|
stages: [ commit-msg ]
|
||||||
@@ -39,6 +39,9 @@ repos:
|
|||||||
rev: v0.0.1
|
rev: v0.0.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: go-test
|
- id: go-test
|
||||||
- id: golangci-lint
|
|
||||||
- id: gofumpt
|
- 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/.*$$'
|
exclude: '^graph/generated/.*$|^graph/model/models_gen.go|^tools/.*$$'
|
||||||
Reference in new issue
Block a user