Skip to content

Commit

Permalink
feat: disable nosnakecase
Browse files Browse the repository at this point in the history
  • Loading branch information
sivchari committed Aug 5, 2022
1 parent 0a884a4 commit 6e3cb8f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 174 deletions.
19 changes: 0 additions & 19 deletions pkg/golinters/nosnakecase.go

This file was deleted.

5 changes: 0 additions & 5 deletions pkg/lint/lintersdb/manager.go
Expand Up @@ -637,11 +637,6 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithPresets(linter.PresetStyle).
WithURL("https://github.com/firefart/nonamedreturns"),

linter.NewConfig(golinters.NewNoSnakeCase()).
WithSince("v1.47.0").
WithPresets(linter.PresetStyle).
WithURL("https://github.com/sivchari/nosnakecase"),

linter.NewConfig(golinters.NewNoSprintfHostPort()).
WithSince("v1.46.0").
WithPresets(linter.PresetStyle).
Expand Down
2 changes: 1 addition & 1 deletion test/run_test.go
Expand Up @@ -95,7 +95,7 @@ func TestTestsAreLintedByDefault(t *testing.T) {
}

func TestCgoOk(t *testing.T) {
testshared.NewLintRunner(t).Run("--no-config", "--enable-all", "-D", "nosnakecase,gci", getTestDataDir("cgo")).ExpectNoIssues()
testshared.NewLintRunner(t).Run("--no-config", "--enable-all", getTestDataDir("cgo")).ExpectNoIssues()
}

func TestCgoWithIssues(t *testing.T) {
Expand Down
149 changes: 0 additions & 149 deletions test/testdata/nosnakecase.go

This file was deleted.

0 comments on commit 6e3cb8f

Please sign in to comment.