From 3456131a986f8f41f0bb350b35fb6ce4381637c7 Mon Sep 17 00:00:00 2001 From: Denis Shaposhnikov <993498+dsh2dsh@users.noreply.github.com> Date: Wed, 22 May 2024 16:06:30 +0200 Subject: [PATCH] golangci.yaml: add wrapcheck rule [skip ci] --- .golangci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.golangci.yaml b/.golangci.yaml index b4511aa..df33dca 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -43,6 +43,14 @@ linters-settings: - name: receiver-naming disabled: true + wrapcheck: + # An array of glob patterns which, if any match the package of the function + # returning the error, will skip wrapcheck analysis for this error. This is + # useful for broadly ignoring packages and/or subpackages from wrapcheck + # analysis. There are no defaults for this value. + ignorePackageGlobs: + - "github.com/dsh2dsh/expx-dotenv/*" + issues: exclude-rules: - path: _test\.go