nosnakecase: deprecate linter (#3065)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
0a884a44bd
commit
d4fd2db3d5
@ -640,7 +640,8 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
|
||||
linter.NewConfig(golinters.NewNoSnakeCase()).
|
||||
WithSince("v1.47.0").
|
||||
WithPresets(linter.PresetStyle).
|
||||
WithURL("https://github.com/sivchari/nosnakecase"),
|
||||
WithURL("https://github.com/sivchari/nosnakecase").
|
||||
Deprecated("The repository of the linter has been deprecated by the owner.", "v1.48.1", "revive(var-naming)"),
|
||||
|
||||
linter.NewConfig(golinters.NewNoSprintfHostPort()).
|
||||
WithSince("v1.46.0").
|
||||
|
2
test/testdata/nosnakecase.go
vendored
2
test/testdata/nosnakecase.go
vendored
@ -1,4 +1,4 @@
|
||||
//golangcitest:args -Enosnakecase
|
||||
//golangcitest:args -Enosnakecase --internal-cmd-test
|
||||
package testdata
|
||||
|
||||
import (
|
||||
|
Loading…
x
Reference in New Issue
Block a user