mirror of
https://github.com/prometheus-community/windows_exporter
synced 2024-12-30 18:32:07 +00:00
0711268d3c
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
26 lines
533 B
YAML
26 lines
533 B
YAML
linters:
|
|
disable-all: true
|
|
enable:
|
|
- deadcode
|
|
- errcheck
|
|
- revive
|
|
- govet
|
|
- gofmt
|
|
- ineffassign
|
|
- unconvert
|
|
- varcheck
|
|
|
|
issues:
|
|
exclude:
|
|
- don't use underscores in Go names
|
|
- don't use an underscore in package name
|
|
- exported type .+ should have comment or be unexported
|
|
exclude-rules:
|
|
- # Golint has many capitalisation complaints on WMI class names
|
|
text: "`?\\w+`? should be `?\\w+`?"
|
|
linters:
|
|
- revive
|
|
- text: "don't use ALL_CAPS in Go names; use CamelCase"
|
|
linters:
|
|
- revive
|