From 3cae2fa6f991dfd8742a8465d19a9b843254cebd Mon Sep 17 00:00:00 2001 From: SalvadorC Date: Sat, 13 Oct 2018 20:13:29 +0200 Subject: [PATCH] Update empty-lines.go removes warning on unused parameter --- rule/empty-lines.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/empty-lines.go b/rule/empty-lines.go index e26c8dd..37ec2a8 100644 --- a/rule/empty-lines.go +++ b/rule/empty-lines.go @@ -11,7 +11,7 @@ import ( type EmptyLinesRule struct{} // Apply applies the rule to given file. -func (r *EmptyLinesRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure { +func (r *EmptyLinesRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure { var failures []lint.Failure onFailure := func(failure lint.Failure) {