Update golangci-lint version and fix reports

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>
This commit is contained in:
Milos Gajdos 2022-01-28 11:19:42 +00:00
parent be4c921514
commit ebd3f44146
No known key found for this signature in database
GPG key ID: 01300E5E6D417439
3 changed files with 3 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
GOLANGCI_LINT_VERSION="v1.27.0"
GOLANGCI_LINT_VERSION="v1.44.0"
#
# Install developer tools to $GOBIN (or $GOPATH/bin if unset)