mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-02-26 23:40:48 +00:00
* Move errcheck exclude list to config file. * Enable revive linter * Fix up revive linting issues. Signed-off-by: SuperQ <superq@gmail.com>
17 lines
243 B
YAML
17 lines
243 B
YAML
---
|
|
linters:
|
|
enable:
|
|
- revive
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test.go
|
|
linters:
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
errcheck:
|
|
exclude-functions:
|
|
# Never check for logger errors.
|
|
- (github.com/go-kit/log.Logger).Log
|