pre-commit(golang): rm go-lint, add revive,go-sec

[skip ci]
This commit is contained in:
surtur 2022-05-24 11:44:55 +02:00
parent 5cb040b7a8
commit dabb229e07
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -45,7 +45,6 @@ repos:
hooks: hooks:
- id: go-fmt - id: go-fmt
- id: go-vet - id: go-vet
- id: go-lint
- id: go-imports - id: go-imports
- id: go-cyclo - id: go-cyclo
args: [-over=15] args: [-over=15]
@ -53,6 +52,11 @@ repos:
- id: go-unit-tests - id: go-unit-tests
- id: go-build - id: go-build
- id: go-mod-tidy - 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 - repo: local
hooks: hooks:
- id: nix-build - id: nix-build