Merge pull request #9382 from guggero/linter-update

lint: deprecate old linters, use new ref commit
This commit is contained in:
Oliver Gugger 2024-12-20 10:51:08 +01:00 committed by GitHub
commit 1dfb5a0c20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.
@ -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.