Skip to content

Commit

Permalink
cleanup lint/rule.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mfederowicz committed Dec 8, 2024
1 parent d6f17ff commit 3086a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type DisabledInterval struct {
// Rule defines an abstract rule interface
type Rule interface {
Name() string
Apply(*File, Arguments) ([]Failure)
Apply(*File, Arguments) []Failure
}

// ToFailurePosition returns the failure position.
Expand Down

0 comments on commit 3086a32

Please sign in to comment.