             return corrections
         }
         return []
-
     }
-
 }

    }

    public func correct(file: File) -> [Correction] {
        let linesSections = internalValidate(file: file)
        if linesSections.isEmpty { return [] }

        var indexOfLinesToDelete = [Int]()

    )

    public func validate(file: File) -> [StyleViolation] {
        let linesSections = violatingLineSections(in: file)
        if linesSections.isEmpty { return [] }

        var violations = [StyleViolation]()
        for (eachLastLine, eachSectionCount) in linesSections {
            // Skips violations for areas where the rule is disabled
            if !file.ruleEnabled(violatingRanges: [eachLastLine.range], for: self).isEmpty {
                violations.append(StyleViolation(
                    ruleDescription: type(of: self).description,
                    severity: configuration.severityConfiguration.severity,
                    location: Location(file: file.path, line: eachLastLine.index),
                    reason: descriptionReason + " Currently \(eachSectionCount + 1)."
                ))
            }
        }
        return violations
    }

    private typealias LineSection = (lastLine: Line, linesToRemove: Int)

    private func violatingLineSections(in file: File) -> [LineSection] {
        let filteredLines = file.lines.filter {
            $0.content.trimmingCharacters(in: .whitespaces).isEmpty
        }
