Skip to content
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

lint: deprecate old linters, use new ref commit #9382

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ linters:
- unparam
- wastedassign


# Disable gofumpt as it has weird behavior regarding formatting multiple
# lines for a function which is in conflict with our contribution
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
Expand Down Expand Up @@ -218,10 +217,21 @@ linters:
- intrange
- goconst

# Deprecated linters that have been replaced by newer ones.
- deadcode
- exhaustivestruct
- ifshort
- golint
- interfacer
- varcheck
- nosnakecase
- scopelint
- structcheck
- maligned

issues:
# Only show newly introduced problems.
new-from-rev: 77c7f776d5cbf9e147edc81d65ae5ba177a684e5
new-from-rev: 03eab4db64540aa5f789c617793e4459f4ba9e78

# Skip autogenerated files for mobile and gRPC as well as copied code for
# internal use.
Expand Down
Loading