json_exporter/.golangci.yml
Ben Kochie 621139e1b2
Release 0.4.0 (#136)
* [FEATURE] Add support for HTTP POST body content #123

Signed-off-by: SuperQ <superq@gmail.com>
2022-01-18 14:46:03 +09:00

23 lines
489 B
YAML

linters:
enable:
- revive
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:
- path: _test.go
linters:
- errcheck
linters-settings:
errcheck:
exclude: scripts/errcheck_excludes.txt