Skip to content

Commit ced8f57

Browse files
sivcharildez
authored andcommitted
nosnakecase: deprecate linter (golangci#3065)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent d7bc5a9 commit ced8f57

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/lint/lintersdb/manager.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
640640
linter.NewConfig(golinters.NewNoSnakeCase()).
641641
WithSince("v1.47.0").
642642
WithPresets(linter.PresetStyle).
643-
WithURL("https://github.com/sivchari/nosnakecase"),
643+
WithURL("https://github.com/sivchari/nosnakecase").
644+
Deprecated("The repository of the linter has been deprecated by the owner.", "v1.48.1", "revive(var-naming)"),
644645

645646
linter.NewConfig(golinters.NewNoSprintfHostPort()).
646647
WithSince("v1.46.0").

test/testdata/nosnakecase.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//golangcitest:args -Enosnakecase
1+
//golangcitest:args -Enosnakecase --internal-cmd-test
22
package testdata
33

44
import (

0 commit comments

Comments
 (0)