Skip to content

Commit 04a3085

Browse files
committed
chore: update configuration
1 parent c7b5527 commit 04a3085

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.golangci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -163,27 +163,27 @@ issues:
163163
text: "SA1019: c.cfg.Run.ShowStats is deprecated: use Output.ShowStats instead."
164164

165165
# Deprecated linter options.
166-
- path: pkg/golinters/errcheck.go
166+
- path: pkg/golinters/errcheck/errcheck.go
167167
linters: [staticcheck]
168168
text: "SA1019: errCfg.Exclude is deprecated: use ExcludeFunctions instead"
169-
- path: pkg/golinters/govet.go
169+
- path: pkg/golinters/govet/govet.go
170170
linters: [staticcheck]
171171
text: "SA1019: cfg.CheckShadowing is deprecated: the linter should be enabled inside Enable."
172-
- path: pkg/golinters/godot.go
172+
- path: pkg/golinters/godot/godot.go
173173
linters: [staticcheck]
174174
text: "SA1019: settings.CheckAll is deprecated: use Scope instead"
175-
- path: pkg/golinters/gci.go
175+
- path: pkg/golinters/gci/gci.go
176176
linters: [staticcheck]
177177
text: "SA1019: settings.LocalPrefixes is deprecated: use Sections instead."
178-
- path: pkg/golinters/mnd.go
178+
- path: pkg/golinters/mnd/mnd.go
179179
linters: [staticcheck]
180180
text: "SA1019: settings.Settings is deprecated: use root level settings instead."
181-
- path: pkg/golinters/mnd.go
181+
- path: pkg/golinters/mnd/mnd.go
182182
linters: [staticcheck]
183183
text: "SA1019: config.GoMndSettings is deprecated: use MndSettings."
184184

185185
# Related to `run.go`, it cannot be removed.
186-
- path: pkg/golinters/gofumpt.go
186+
- path: pkg/golinters/gofumpt/gofumpt.go
187187
linters: [staticcheck]
188188
text: "SA1019: settings.LangVersion is deprecated: use the global `run.go` instead."
189189
- path: pkg/golinters/internal/staticcheck_common.go
@@ -194,7 +194,7 @@ issues:
194194
text: "SA1019: (.+).(GoVersion|LangVersion) is deprecated: use the global `run.go` instead."
195195

196196
# Based on existing code, the modifications should be limited to make maintenance easier.
197-
- path: pkg/golinters/unused.go
197+
- path: pkg/golinters/unused/unused.go
198198
linters: [gocritic]
199199
text: "rangeValCopy: each iteration copies 160 bytes \\(consider pointers or indexing\\)"
200200

0 commit comments

Comments
 (0)