From 60b7fe5f25be3c60132c08096614c2b0f102317e Mon Sep 17 00:00:00 2001 From: Hayley Swimelar Date: Thu, 9 Jan 2020 16:50:18 -0800 Subject: [PATCH] Disable funlen in tests funlen is prone to false positives in tests, due to the need for boilerplate such as table test structs and other setup code. --- assets/.golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/.golangci.yml b/assets/.golangci.yml index b6d1770..af7d676 100644 --- a/assets/.golangci.yml +++ b/assets/.golangci.yml @@ -292,6 +292,7 @@ issues: - errcheck - dupl - gosec + - funlen # Exclude known linters from partially hard-vendored code, # which is impossible to exclude via "nolint" comments.