2019-10-09 12:02:21 +00:00
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
- structcheck
|
|
|
|
- varcheck
|
|
|
|
- staticcheck
|
|
|
|
- unconvert
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- golint
|
|
|
|
- ineffassign
|
|
|
|
- vet
|
|
|
|
- unused
|
|
|
|
- misspell
|
|
|
|
disable:
|
|
|
|
- errcheck
|
|
|
|
|
|
|
|
run:
|
|
|
|
deadline: 2m
|
|
|
|
skip-dirs:
|
|
|
|
- vendor
|
2023-05-09 15:57:28 +00:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
# io/ioutil is deprecated, but won't be removed until Go v2. It's safe to ignore for the release/2.8 branch.
|
|
|
|
- text: "SA1019: \"io/ioutil\" has been deprecated since Go 1.16"
|
|
|
|
linters:
|
|
|
|
- staticcheck
|