Skip to content

Commit 9eef428

Browse files
committed
.golangci: remove or rename old and deprecated linters
1 parent 19b5a1f commit 9eef428

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.golangci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,25 +131,15 @@ linters:
131131
- gochecknoinits
132132

133133
# Deprecated linters. See https://golangci-lint.run/usage/linters/.
134-
- interfacer
135-
- golint
136-
- maligned
137-
- scopelint
138-
- exhaustivestruct
139134
- bodyclose
140135
- contextcheck
141136
- nilerr
142137
- noctx
143138
- rowserrcheck
144139
- sqlclosecheck
145-
- structcheck
146140
- tparallel
147141
- unparam
148142
- wastedassign
149-
- ifshort
150-
- varcheck
151-
- deadcode
152-
- nosnakecase
153143

154144

155145
# Disable gofumpt as it has weird behavior regarding formatting multiple
@@ -189,7 +179,7 @@ linters:
189179
- wrapcheck
190180

191181
# Allow dynamic errors.
192-
- goerr113
182+
- err113
193183

194184
# We use ErrXXX instead.
195185
- errname

0 commit comments

Comments
 (0)