Explorar el Código

adjust depguard linter rule

Shelikhoo hace 2 años
padre
commit
dec83fbd99
Se han modificado 1 ficheros con 6 adiciones y 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