Merged
Conversation
eb98d90 to
788c74b
Compare
richscott
reviewed
Jan 5, 2026
Member
richscott
left a comment
There was a problem hiding this comment.
This is a nice update - I am seeing lots of projects moving to v2. I had just one question/suggestion about some enabled check codes.
| staticcheck: | ||
| checks: | ||
| - "all" | ||
| - "-QF1008" |
Member
There was a problem hiding this comment.
What do you think about adding a short trailing comment for what each of these check codes mean? I researched a bit, and it looks like they mean:
QF1008 Omit embedded fields from selector expression
ST1003 Poorly chosen identifier
ST1019 Importing the same package multiple times
788c74b to
cbb9055
Compare
richscott
approved these changes
Mar 17, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request Template
What type of PR is this?
Maintenance / Dependency Update
What this PR does / why we need it:
Upgrades golangci-lint from v1.64.6 to v2.7.2 and migrates the configuration to the v2 format.
Changes
github.com/golangci/golangci-lint/v2/cmd/golangci-lint.golangci.ymlto v2 format:QF1008(embedded field selector simplification)ST1019(duplicate imports)References