From 23517587aa96775a0b985416d495948b7a16610f Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Fri, 13 Sep 2019 11:15:43 +0200 Subject: [PATCH] build: disable funlen --- .golangci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 8cc1bc860..0ab310bdd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -37,6 +37,10 @@ linters: # We don't care (enough) about misaligned structs to lint that. - maligned + # We have long functions, especially in tests. Moving or renaming those would + # trigger funlen problems that we may not want to solve at that time. + - funlen + issues: # Only show newly introduced problems. new-from-rev: 01f696afce2f9c0d4ed854edefa3846891d01d8a