Skip to content

Commit 6ee59e5

Browse files
committed
Deprecate scopelint linter
1 parent 8d0075d commit 6ee59e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/lint/lintersdb/manager.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
271271
WithURL("https://github.com/alexkohler/prealloc"),
272272
linter.NewConfig(golinters.NewScopelint()).
273273
WithPresets(linter.PresetBugs).
274-
WithURL("https://github.com/kyoh86/scopelint"),
274+
WithURL("https://github.com/kyoh86/scopelint").
275+
Deprecated("The repository of the linter has been deprecated by the owner. Use 'exportloopref' instead."),
275276
linter.NewConfig(golinters.NewGocritic()).
276277
WithPresets(linter.PresetStyle).
277278
WithLoadForGoAnalysis().

0 commit comments

Comments
 (0)