mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
cleanup: removes or names unused parameters and receivers to _ (#907)
This commit is contained in:
committed by
GitHub
parent
36c2ee2718
commit
70ceb1cbfb
@@ -43,7 +43,7 @@ func (*mockRule) Name() string {
|
||||
return "mock-rule"
|
||||
}
|
||||
|
||||
func (*mockRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
|
||||
func (*mockRule) Apply(_ *lint.File, _ lint.Arguments) []lint.Failure {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user