nosnakecase: deprecate linter ()

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
sivchari 2022-08-05 19:42:47 +09:00 committed by GitHub
parent 0a884a44bd
commit d4fd2db3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions
pkg/lint/lintersdb
test/testdata

@ -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").

@ -1,4 +1,4 @@
//golangcitest:args -Enosnakecase
//golangcitest:args -Enosnakecase --internal-cmd-test
package testdata
import (