mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
Update empty-lines.go
removes warning on unused parameter
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
|||||||
type EmptyLinesRule struct{}
|
type EmptyLinesRule struct{}
|
||||||
|
|
||||||
// Apply applies the rule to given file.
|
// 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
|
var failures []lint.Failure
|
||||||
|
|
||||||
onFailure := func(failure lint.Failure) {
|
onFailure := func(failure lint.Failure) {
|
||||||
|
|||||||
Reference in New Issue
Block a user