Skip to content

Commit

Permalink
nosnakecase: deprecate linter (#3065)
Browse files Browse the repository at this point in the history
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
  • Loading branch information
sivchari and ldez committed Aug 5, 2022
1 parent 0a884a4 commit d4fd2db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/lint/lintersdb/manager.go
Expand Up @@ -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").
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/nosnakecase.go
@@ -1,4 +1,4 @@
//golangcitest:args -Enosnakecase
//golangcitest:args -Enosnakecase --internal-cmd-test
package testdata

import (
Expand Down

0 comments on commit d4fd2db

Please sign in to comment.