Explorar o código

adjust depguard linter rule

Shelikhoo %!s(int64=2) %!d(string=hai) anos
pai
achega
dec83fbd99
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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