Browse Source

adjust depguard linter rule

Shelikhoo 2 years ago
parent
commit
dec83fbd99
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .github/linters/.golangci.yml

+ 6 - 0
.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