Jelajahi Sumber

adjust depguard linter rule

Shelikhoo 2 tahun lalu
induk
melakukan
dec83fbd99
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  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