ebd3f44146
This commit updates golangci-lint to v1.44.0. It also removes deprecated golint in favour of revive linter. Finally, it addresses an issue reported by linter. Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
21 lines
256 B
YAML
21 lines
256 B
YAML
linters:
|
|
enable:
|
|
- structcheck
|
|
- varcheck
|
|
- staticcheck
|
|
- unconvert
|
|
- gofmt
|
|
- goimports
|
|
- revive
|
|
- ineffassign
|
|
- vet
|
|
- unused
|
|
- misspell
|
|
disable:
|
|
- errcheck
|
|
|
|
run:
|
|
deadline: 2m
|
|
skip-dirs:
|
|
- vendor
|