update golangci configuration
1 file changed, 28 insertions(+), 1 deletion(-)
changed files
M .golangci.yaml → .golangci.yaml
@@ -1,8 +1,8 @@ --- # yamllint disable-line rule:line-length # yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json +version: "2" linters: - fast: false enable: - gocritic - godox@@ -19,3 +19,30 @@ - reassign - revive - sloglint - unconvert + - wrapcheck + settings: + paralleltest: + ignore-missing: true + wrapcheck: + ignore-sigs: + - fault.New( + - fault.Newf( + - fault.Wrap( + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + paths: + - third_party$ + - builtin$ + - examples$ +formatters: + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$