@@ -154,16 +154,6 @@ issues:
154
154
- mnd
155
155
- lll
156
156
157
- # The logic of creating a linter is similar between linters, it's not duplication.
158
- - path : pkg/golinters
159
- linters :
160
- - dupl
161
-
162
- # Deprecated configuration options.
163
- - path : pkg/commands/run.go
164
- linters : [staticcheck]
165
- text : " SA1019: c.cfg.Run.ShowStats is deprecated: use Output.ShowStats instead."
166
-
167
157
# Deprecated linter options.
168
158
- path : pkg/golinters/errcheck/errcheck.go
169
159
linters : [staticcheck]
@@ -180,39 +170,17 @@ issues:
180
170
- path : pkg/goformatters/gci/gci.go
181
171
linters : [staticcheck]
182
172
text : " SA1019: settings.LocalPrefixes is deprecated: use Sections instead."
183
- - path : pkg/golinters/mnd/mnd.go
184
- linters : [staticcheck]
185
- text : " SA1019: settings.Settings is deprecated: use root level settings instead."
186
- - path : pkg/golinters/mnd/mnd.go
187
- linters : [staticcheck]
188
- text : " SA1019: config.GoMndSettings is deprecated: use MndSettings."
189
173
190
174
# Related to `run.go`, it cannot be removed.
191
175
- path : pkg/golinters/gofumpt/gofumpt.go
192
176
linters : [staticcheck]
193
177
text : " SA1019: settings.LangVersion is deprecated: use the global `run.go` instead."
194
- - path : pkg/golinters/internal/staticcheck_common.go
195
- linters : [staticcheck]
196
- text : " SA1019: settings.GoVersion is deprecated: use the global `run.go` instead."
197
- - path : pkg/lint/lintersdb/manager.go
198
- linters : [staticcheck]
199
- text : " SA1019: (.+).(GoVersion|LangVersion) is deprecated: use the global `run.go` instead."
200
178
201
179
# Based on existing code, the modifications should be limited to make maintenance easier.
202
180
- path : pkg/golinters/unused/unused.go
203
181
linters : [gocritic]
204
182
text : " rangeValCopy: each iteration copies 160 bytes \\ (consider pointers or indexing\\ )"
205
183
206
- # Related to file sizes.
207
- - path : pkg/goanalysis/runner_loadingpackage.go
208
- linters : [gosec]
209
- text : " G115: integer overflow conversion uintptr -> int"
210
-
211
- # Related to PID.
212
- - path : test/bench/bench_test.go
213
- linters : [gosec]
214
- text : " G115: integer overflow conversion int -> int32"
215
-
216
184
# Related to the result of computation but divided multiple times by 1024.
217
185
- path : test/bench/bench_test.go
218
186
linters : [gosec]
0 commit comments