1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04: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

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