mirror of
https://github.com/prometheus-community/bind_exporter.git
synced 2025-04-18 13:04:01 +03:00
* Remove obsolete go-kit exception. * Remove codespell CI step in favor of misspell plugin. * Enable sloglint plugin. Signed-off-by: SuperQ <superq@gmail.com>
25 lines
509 B
YAML
25 lines
509 B
YAML
---
|
|
linters:
|
|
enable:
|
|
- misspell
|
|
- revive
|
|
- sloglint
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test.go
|
|
linters:
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
errcheck:
|
|
exclude-functions:
|
|
# Used in HTTP handlers, any error is handled by the server itself.
|
|
- (net/http.ResponseWriter).Write
|
|
revive:
|
|
rules:
|
|
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
|
|
- name: unused-parameter
|
|
severity: warning
|
|
disabled: true
|