golangci-lint: bump to 1.48.0
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
c02f784065
commit
14281e8dd1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user