2019-10-19 14:50:13 +00:00
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- deadcode
|
|
|
|
- errcheck
|
2021-12-24 10:19:05 +00:00
|
|
|
- revive
|
2019-10-19 14:50:13 +00:00
|
|
|
- govet
|
|
|
|
- gofmt
|
|
|
|
- ineffassign
|
|
|
|
- structcheck
|
|
|
|
- unconvert
|
|
|
|
- varcheck
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude:
|
|
|
|
- don't use underscores in Go names
|
|
|
|
- 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:
|
2021-12-24 10:19:05 +00:00
|
|
|
- revive
|
|
|
|
- text: "don't use ALL_CAPS in Go names; use CamelCase"
|
|
|
|
linters:
|
|
|
|
- revive
|