Disable soon to deprecated linters
These lead to false positives when build tags disable certain files as
reported in
They'll get deprecated and removed eventually anyway:
linters:
enable:
- golint
+ disable:
+ # Disable soon to deprecated[1] linters that lead to false
+ # positives when build tags disable certain files[2]
+ # 1: https://github.com/golangci/golangci-lint/issues/1841
+ # 2: https://github.com/prometheus/node_exporter/issues/1545
+ - deadcode
+ - unused
+ - structcheck
+ - varcheck
issues:
exclude-rules:
