1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +02:00

Fix linter warnings (recommended config) in the code (#71)

This commit is contained in:
SalvadorC
2018-09-23 00:27:22 +02:00
committed by Minko Gechev
parent bd4139713d
commit 388baa3eeb
38 changed files with 55 additions and 52 deletions

View File

@@ -10,7 +10,7 @@ import (
type EmptyBlockRule struct{}
// Apply applies the rule to given file.
func (r *EmptyBlockRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
func (r *EmptyBlockRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure {
var failures []lint.Failure
onFailure := func(failure lint.Failure) {