Browse Source

Enable golint in CI

Enable the golint module in golangci-lint.

Fixes: https://github.com/prometheus/prometheus/issues/4125

Signed-off-by: Ben Kochie <superq@gmail.com>
pull/7037/head
Ben Kochie 5 years ago
parent
commit
51057daaa4
No known key found for this signature in database
GPG Key ID: C646B23C9E3245F1
  1. 4
      .golangci.yml

4
.golangci.yml

@ -2,6 +2,10 @@ run:
modules-download-mode: vendor modules-download-mode: vendor
deadline: 5m deadline: 5m
linters:
enable:
- golint
issues: issues:
exclude-rules: exclude-rules:
- path: _test.go - path: _test.go

Loading…
Cancel
Save