diff --git a/lint/file.go b/lint/file.go index be0b4d517..51595441c 100644 --- a/lint/file.go +++ b/lint/file.go @@ -107,7 +107,6 @@ func (f *File) lint(rules []Rule, config Config, failures chan Failure) error { continue } currentFailures := currentRule.Apply(f, ruleConfig.Arguments) - for idx, failure := range currentFailures { if failure.IsInternal() { return errors.New(failure.Failure)