Skip to content

Commit

Permalink
Revert "add nilassign linter" (#2154)
Browse files Browse the repository at this point in the history
This reverts commit bbf0450.
  • Loading branch information
ldez committed Aug 3, 2021
1 parent 85f8a60 commit 15963ed
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 76 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ require (
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c
github.com/shirou/gopsutil/v3 v3.21.7
github.com/sirupsen/logrus v1.8.1
github.com/sivchari/nilassign v0.1.0
github.com/sonatard/noctx v0.0.1
github.com/sourcegraph/go-diff v0.6.1
github.com/spf13/cobra v1.2.1
Expand Down
21 changes: 0 additions & 21 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 0 additions & 21 deletions pkg/golinters/nilassign.go

This file was deleted.

5 changes: 0 additions & 5 deletions pkg/lint/lintersdb/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,11 +485,6 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config {
WithLoadForGoAnalysis().
WithPresets(linter.PresetBugs).
WithURL("https://github.com/gostaticanalysis/nilerr"),
linter.NewConfig(golinters.NewNilAssign()).
WithSince("v1.42.0").
WithLoadForGoAnalysis().
WithPresets(linter.PresetBugs).
WithURL("https://github.com/sivchari/nilassign"),
linter.NewConfig(golinters.NewForceTypeAssert()).
WithSince("v1.38.0").
WithPresets(linter.PresetStyle).
Expand Down
28 changes: 0 additions & 28 deletions test/testdata/nilassign.go

This file was deleted.

0 comments on commit 15963ed

Please sign in to comment.