aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorBen Kochie <superq@gmail.com>2020-02-27 11:59:02 +0100
committerGitHub <noreply@github.com>2020-02-27 11:59:02 +0100
commita7c31ff7ed0990545ed4cc62690fc53563ee8860 (patch)
tree79d5a7cab59cf8e1c5d2ebd2a60bd8a4c22b2c2c /.golangci.yml
parentef7c05816adcb0e8923defe34e97f6afcce0a939 (diff)
downloadprometheus_node_collector-a7c31ff7ed0990545ed4cc62690fc53563ee8860.tar.bz2
prometheus_node_collector-a7c31ff7ed0990545ed4cc62690fc53563ee8860.tar.xz
prometheus_node_collector-a7c31ff7ed0990545ed4cc62690fc53563ee8860.zip
Enable golint (#1623)
* Enable golint in golangci-lint tests. * Fix up minor linting issues. Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index b421c1f..c53f64c 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,6 +1,10 @@
1run: 1run:
2 modules-download-mode: vendor 2 modules-download-mode: vendor
3 3
4linters:
5 enable:
6 - golint
7
4issues: 8issues:
5 exclude-rules: 9 exclude-rules:
6 - path: _test.go 10 - path: _test.go