pre-commit(golang): rm go-lint, add revive,go-sec
[skip ci]
This commit is contained in:
parent
5cb040b7a8
commit
dabb229e07
@ -45,7 +45,6 @@ repos:
|
||||
hooks:
|
||||
- id: go-fmt
|
||||
- id: go-vet
|
||||
- id: go-lint
|
||||
- id: go-imports
|
||||
- id: go-cyclo
|
||||
args: [-over=15]
|
||||
@ -53,6 +52,11 @@ repos:
|
||||
- id: go-unit-tests
|
||||
- id: go-build
|
||||
- id: go-mod-tidy
|
||||
- repo: https://github.com/tekwizely/pre-commit-golang
|
||||
rev: v1.0.0-beta.5
|
||||
hooks:
|
||||
- id: go-revive-mod
|
||||
- id: go-sec-mod
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: nix-build
|
||||
|
Loading…
Reference in New Issue
Block a user