You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the wastedassign lint in golangci-lint gives this error:
WARN [linters context] wastedassign is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649.
We should disable it for now to be clear we are not getting its benefit, and re-enable it once golangci-lint fixes it for use under go1.18.
The text was updated successfully, but these errors were encountered:
(Update: wastedassign still does not support generics. You can track golangci-lint's progress on fixing various sub-linters here: golangci/golangci-lint#2649)
According to this bug, wastedassign now works with generics. But when I re-enable it in our golangci.yml, it prints the message "WARN [linters_context] wastedassign is disabled because of generics.". So I guess we're still waiting on a new release of golangci-lint to enable it.
Right now, the
wastedassign
lint in golangci-lint gives this error:We should disable it for now to be clear we are not getting its benefit, and re-enable it once golangci-lint fixes it for use under go1.18.
The text was updated successfully, but these errors were encountered: