golangci-lint: bump to 1.48.0
All checks were successful
continuous-integration/drone/push Build is passing

ifshort linter has been deprecated in the meanwhile so comment it out.
This commit is contained in:
surtur 2022-09-01 20:38:08 +02:00
parent c02f784065
commit 14281e8dd1
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 4 additions and 2 deletions

@ -254,7 +254,7 @@ def main(ctx):
"commands": [
"go install -v "+
"github.com/golangci/golangci-lint/cmd/golangci-lint@"+
"v1.47.3",
"v1.48.0",
"golangci-lint --version",
"golangci-lint run -v --timeout 5m"
],

@ -31,7 +31,9 @@ linters:
- goprintffuncname
- gosec
- ineffassign
- ifshort
# The linter 'ifshort' is deprecated (since v1.48.0) due to: The repository
# of the linter has been deprecated by the owner.
# - ifshort
- misspell
# - prealloc # disable for now as it might be premature optimisation
- revive