From 1f62d3dec65294a863200a90e4c445ecdeda445e Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 28 May 2022 20:58:56 +0200 Subject: [PATCH] pre-commit(go): use golangci-lint for most checks [skip ci] --- .pre-commit-config.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a2c34b0..3f0fb50 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,20 +45,13 @@ repos: - repo: https://github.com/dnephin/pre-commit-golang rev: v0.5.0 hooks: - - id: go-fmt - id: go-vet - - id: go-imports + - id: go-unit-tests - id: go-cyclo args: [-over=15] - id: golangci-lint - - 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