1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-29 22:28:23 +02:00

Lint cleanup (#679)

This commit is contained in:
chavacava
2022-04-10 11:55:13 +02:00
committed by GitHub
parent 31fbdb1833
commit 04728cf0de
83 changed files with 203 additions and 233 deletions

View File

@@ -39,11 +39,11 @@ func TestReviveCreateInstance(t *testing.T) {
type mockRule struct {
}
func (r *mockRule) Name() string {
func (*mockRule) Name() string {
return "mock-rule"
}
func (r *mockRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
func (*mockRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
return nil
}