Update golangci-lint to latest - 1.50.1 #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To resolve "can't load fmt" error, seen when running: -
.tmp/bin/golangci-lint --version
etc.
Signed-off-by: Dave Hay david_hay@uk.ibm.com
Additional details
With default
1.47.2
included withgo-bouncer
make bootstrap
make
ls -al .tmp/bin/golangci-lint
.tmp/bin/golangci-lint --version
Match other known issues with older versions of
golangci-lint
such as Panic since update to v1.43.0 (load embedded ruleguard rules: rules/rules.go:13: can't load fmt) #2374 and go-critic/ruleguard: load embedded ruleguard rules: rules/rules.go:13: can't load fmt #3107With current latest
1.50.1
- as per golangci-lint/releases.tmp/bin/golangci-lint --version
ls -al .tmp/bin/golangci-lint
( having run
make bootstrap
)