Skip to content

Commit 2153d9e

Browse files
committed
chore: update configuration
1 parent 825d1a8 commit 2153d9e

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
@@ -169,30 +169,30 @@ issues:
169169
text: "SA1019: c.cfg.Run.UseDefaultSkipDirs is deprecated: use Issues.UseDefaultExcludeDirs instead."
170170

171171
# Deprecated linter options.
172-
- path: pkg/golinters/errcheck.go
172+
- path: pkg/golinters/errcheck/errcheck.go
173173
linters: [staticcheck]
174174
text: "SA1019: errCfg.Exclude is deprecated: use ExcludeFunctions instead"
175175
- path: pkg/commands/run.go
176176
linters: [staticcheck]
177177
text: "SA1019: lsc.Errcheck.Exclude is deprecated: use ExcludeFunctions instead"
178-
- path: pkg/golinters/govet.go
178+
- path: pkg/golinters/govet/govet.go
179179
linters: [staticcheck]
180180
text: "SA1019: cfg.CheckShadowing is deprecated: the linter should be enabled inside Enable."
181-
- path: pkg/golinters/godot.go
181+
- path: pkg/golinters/godot/godot.go
182182
linters: [staticcheck]
183183
text: "SA1019: settings.CheckAll is deprecated: use Scope instead"
184-
- path: pkg/golinters/gci.go
184+
- path: pkg/golinters/gci/gci.go
185185
linters: [staticcheck]
186186
text: "SA1019: settings.LocalPrefixes is deprecated: use Sections instead."
187-
- path: pkg/golinters/mnd.go
187+
- path: pkg/golinters/mnd/mnd.go
188188
linters: [staticcheck]
189189
text: "SA1019: settings.Settings is deprecated: use root level settings instead."
190-
- path: pkg/golinters/mnd.go
190+
- path: pkg/golinters/mnd/mnd.go
191191
linters: [staticcheck]
192192
text: "SA1019: config.GoMndSettings is deprecated: use MndSettings."
193193

194194
# Related to `run.go`, it cannot be removed.
195-
- path: pkg/golinters/gofumpt.go
195+
- path: pkg/golinters/gofumpt/gofumpt.go
196196
linters: [staticcheck]
197197
text: "SA1019: settings.LangVersion is deprecated: use the global `run.go` instead."
198198
- path: pkg/golinters/internal/staticcheck_common.go
@@ -203,7 +203,7 @@ issues:
203203
text: "SA1019: (.+).(GoVersion|LangVersion) is deprecated: use the global `run.go` instead."
204204

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

0 commit comments

Comments
 (0)