From 51057daaa4415a920e4a773dded235b15d6154cc Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Mon, 23 Mar 2020 15:32:37 +0100 Subject: [PATCH] Enable golint in CI Enable the golint module in golangci-lint. Fixes: https://github.com/prometheus/prometheus/issues/4125 Signed-off-by: Ben Kochie --- .golangci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 1a05236e2..1bed66642 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,6 +2,10 @@ run: modules-download-mode: vendor deadline: 5m +linters: + enable: + - golint + issues: exclude-rules: - path: _test.go