From dec83fbd99b8dffcdb57c23a6bedba2489db2d00 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Sun, 24 Sep 2023 22:37:35 +0100 Subject: [PATCH] adjust depguard linter rule --- .github/linters/.golangci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/linters/.golangci.yml b/.github/linters/.golangci.yml index cb5d188dc..07df100dd 100644 --- a/.github/linters/.golangci.yml +++ b/.github/linters/.golangci.yml @@ -52,3 +52,9 @@ linters-settings: - name: blank-imports severity: warning disabled: true + depguard: + rules: + Main: + deny: + - pkg: "github.com/pkg/errors" + desc: Should be replaced by standard lib errors package