From df088932a0b2d9a1bac5d9694d5a74e7864c9fba Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 28 Oct 2019 17:06:16 +0100 Subject: [PATCH] lint: allow init functions --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 91e5c21..0b8f543 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -38,6 +38,9 @@ linters: # the linter. - prealloc + # Init functions are used by loggers throughout the codebase. + - gochecknoinits + issues: # Only show newly introduced problems. new-from-rev: 36838cf7f464cf73b0201798063b2caffeae4250