1
0
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:
Marcin Federowicz
2023-09-24 08:55:14 +02:00
committed by GitHub
parent 36c2ee2718
commit 70ceb1cbfb
9 changed files with 12 additions and 12 deletions

View File

@@ -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
}