Skip to content

Commit 53d429c

Browse files
committed
Deprecate scopelint linter
1 parent 921a148 commit 53d429c

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
@@ -269,7 +269,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
269269
WithURL("https://github.com/alexkohler/prealloc"),
270270
linter.NewConfig(golinters.NewScopelint()).
271271
WithPresets(linter.PresetBugs).
272-
WithURL("https://github.com/kyoh86/scopelint"),
272+
WithURL("https://github.com/kyoh86/scopelint").
273+
Deprecated("The repository of the linter has been deprecated by the owner. Use 'exportloopref' instead."),
273274
linter.NewConfig(golinters.NewGocritic()).
274275
WithPresets(linter.PresetStyle).
275276
WithLoadForGoAnalysis().

0 commit comments

Comments
 (0)