diff --git a/.golangci.yaml b/.golangci.yaml index 1138ec6da..23a6c72d7 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,5 +1,6 @@ run: - go: 1.20 + go: "1.20" + timeout: 5m linters: enable: - thelper @@ -12,7 +13,7 @@ linters: - forbidigo - tagliatelle - misspell - + - depguard linters-settings: forbidigo: forbid: @@ -23,3 +24,9 @@ linters-settings: rules: yaml: snake json: snake + depguard: + rules: + main: + deny: + - pkg: "github.com/pkg/errors" + desc: "use stdlib instead"