-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wastedassign: remove limitation related to generics support #3689
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldez
changed the title
Re-enable wastedassign
wastedassign: remove limitation related to generics support
Mar 13, 2023
ldez
added
linter: update
Update the linter implementation inside golangci-lint
enhancement
New feature or improvement
and removed
blocked
Need's direct action from maintainer
labels
Mar 13, 2023
ldez
approved these changes
Mar 13, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I run my tests suite (not the golangci-lint tests) that contains multiple and complex generics usages and everything seems to work.
mihaitodor
added a commit
to mihaitodor/connect
that referenced
this pull request
Mar 18, 2023
- gogritic is very slow (golangci-lint v1.52.0) - wastedassign received support for generics: golangci/golangci-lint#3689
mihaitodor
added a commit
to mihaitodor/connect
that referenced
this pull request
Mar 19, 2023
- gogritic is very slow (golangci-lint v1.52.0) - wastedassign received support for generics: golangci/golangci-lint#3689 - Refactor httpclient.Client.ResponseToBatch to fix wastedassign warning
mihaitodor
added a commit
to mihaitodor/connect
that referenced
this pull request
Mar 19, 2023
- gogritic is very slow (golangci-lint v1.52.0) - wastedassign received support for generics: golangci/golangci-lint#3689 - Refactor httpclient.Client.ResponseToBatch to fix wastedassign warning
SeigeC
pushed a commit
to SeigeC/golangci-lint
that referenced
this pull request
Apr 4, 2023
silverwind
added a commit
to go-gitea/gitea
that referenced
this pull request
Apr 22, 2023
- Update all tool dependencies to latest tag - Remove unused errcheck, it is part of golangci-lint - Include main.go in air - Enable wastedassign again now that it's [generics-compatible](golangci/golangci-lint#3689) - Restructured lint targets to new `lint-*` namespace
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or improvement
linter: update
Update the linter implementation inside golangci-lint
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.
Closes sanposhiho/wastedassign#41
Related to #3580, #2649, #3396, letsencrypt/boulder#6202, hashicorp/terraform-provider-aws#18596