mirror of
https://github.com/prometheus-community/json_exporter
synced 2024-12-18 04:26:08 +00:00
621139e1b2
* [FEATURE] Add support for HTTP POST body content #123 Signed-off-by: SuperQ <superq@gmail.com>
23 lines
489 B
YAML
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
|