Skip to content

Commit fd957d8

Browse files
committed
chore: remove unused exclusions
1 parent c881efc commit fd957d8

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

.golangci.yml

-32
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,6 @@ issues:
154154
- mnd
155155
- lll
156156

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-
167157
# Deprecated linter options.
168158
- path: pkg/golinters/errcheck/errcheck.go
169159
linters: [staticcheck]
@@ -180,39 +170,17 @@ issues:
180170
- path: pkg/goformatters/gci/gci.go
181171
linters: [staticcheck]
182172
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."
189173

190174
# Related to `run.go`, it cannot be removed.
191175
- path: pkg/golinters/gofumpt/gofumpt.go
192176
linters: [staticcheck]
193177
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."
200178

201179
# Based on existing code, the modifications should be limited to make maintenance easier.
202180
- path: pkg/golinters/unused/unused.go
203181
linters: [gocritic]
204182
text: "rangeValCopy: each iteration copies 160 bytes \\(consider pointers or indexing\\)"
205183

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-
216184
# Related to the result of computation but divided multiple times by 1024.
217185
- path: test/bench/bench_test.go
218186
linters: [gosec]

0 commit comments

Comments
 (0)