From 99ebb6797249234ecbe6978355a4a2202fb752fb Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Thu, 5 Jan 2023 08:49:17 +0100 Subject: [PATCH] lint: disable thelper linter --- .golangci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index be2b63897..2ab612f58 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -179,6 +179,11 @@ linters: # Disable nil check to allow returning multiple nil values. - nilnil + + # We often split tests into separate test functions. If we are forced to + # call t.Helper() within those functions, we lose the information where + # exactly a test failed in the generated failure stack trace. + - thelper issues: