From dabb229e071df3b2bfacb9e3c35d111917155920 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 24 May 2022 11:44:55 +0200 Subject: [PATCH] pre-commit(golang): rm go-lint, add revive,go-sec [skip ci] --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f676586..eadcf2d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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