chore: update pre-commit and fix golangci-lint
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
run:
|
||||||
|
allow-parallel-runners: true
|
||||||
@@ -22,7 +22,7 @@ repos:
|
|||||||
- --project
|
- --project
|
||||||
- unboundsoftware/shiny/sentrysetup
|
- unboundsoftware/shiny/sentrysetup
|
||||||
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
||||||
rev: v9.4.0
|
rev: v9.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: commitlint
|
- id: commitlint
|
||||||
stages: [ commit-msg ]
|
stages: [ commit-msg ]
|
||||||
@@ -39,5 +39,8 @@ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user