         let location = Location(file: file, characterOffset: offset + file.lines[line].range.location)
 
         violations.append(StyleViolation(ruleDescription: LetVarWhitespaceRule.description,
+                                         severity: configuration.severity,
                                          location: location))
     }
 
     // Collects all the line numbers containing var or let declarations
-    func varLetLineNumbers(file: File, structure: [[String: SourceKitRepresentable]]) -> Set<Int> {
+    private func varLetLineNumbers(file: File, structure: [[String: SourceKitRepresentable]]) -> Set<Int> {
         var result = Set<Int>()
 
         for statement in structure {

import Foundation
import SourceKittenFramework

public struct LetVarWhitespaceRule: OptInRule {

    public var configurationDescription: String { return "" }

    public init() {}
    public init(configuration: Any) {}

    public static let description = RuleDescription(
        identifier: "let_var_whitespace",

        return violations
    }

    private func linePrecedesVar(_ lineNumber: Int, _ varLines: Set<Int>, _ skippedLines: Set<Int>) -> Bool {
        return lineNeighborsVar(lineNumber, varLines, skippedLines, 1)
    }

    private func lineFollowsVar(_ lineNumber: Int, _ varLines: Set<Int>, _ skippedLines: Set<Int>) -> Bool {
        return lineNeighborsVar(lineNumber, varLines, skippedLines, -1)
    }

    private func lineNeighborsVar(_ lineNumber: Int, _ varLines: Set<Int>,
                                  _ skippedLines: Set<Int>, _ increment: Int) -> Bool {
        if varLines.contains(lineNumber + increment) {
            return true
        }
