Skip to content

Commit 1dfb5a0

Browse files
authored
Merge pull request #9382 from guggero/linter-update
lint: deprecate old linters, use new ref commit
2 parents 03eab4d + f3ddf4d commit 1dfb5a0

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.golangci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ linters:
145145
- unparam
146146
- wastedassign
147147

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

220+
# Deprecated linters that have been replaced by newer ones.
221+
- deadcode
222+
- exhaustivestruct
223+
- ifshort
224+
- golint
225+
- interfacer
226+
- varcheck
227+
- nosnakecase
228+
- scopelint
229+
- structcheck
230+
- maligned
221231

222232
issues:
223233
# Only show newly introduced problems.
224-
new-from-rev: 77c7f776d5cbf9e147edc81d65ae5ba177a684e5
234+
new-from-rev: 03eab4db64540aa5f789c617793e4459f4ba9e78
225235

226236
# Skip autogenerated files for mobile and gRPC as well as copied code for
227237
# internal use.

0 commit comments

Comments
 (0)