mirror of
https://github.com/luxfi/metric.git
synced 2026-07-27 04:12:44 +00:00
Metrics handlers intentionally ignore fmt.Fprintf and io.Closer errors as is standard practice for metrics exposition.
13 lines
436 B
YAML
13 lines
436 B
YAML
version: "2"
|
|
|
|
linters:
|
|
disable:
|
|
- unused # Registry methods implement exported interfaces; false positives on private type methods
|
|
- errcheck # Metrics code intentionally ignores fmt.Fprintf and io.Closer errors
|
|
|
|
linters-settings:
|
|
errcheck:
|
|
exclude-functions:
|
|
- (github.com/prometheus/client_golang/prometheus.Registerer).Register
|
|
- (github.com/prometheus/client_golang/prometheus.Registerer).MustRegister
|