Files
SwiftLint/Source/SwiftLintFramework/Models/ViolationSeverity.swift
T
JP Simard 8a30cb2e3d organize Xcode project
make Extensions, Models & Protocols groups under SourceKittenFramework
2015-11-15 15:07:25 -08:00

19 lines
370 B
Swift

//
// ViolationSeverity.swift
// SwiftLint
//
// Created by JP Simard on 2015-05-16.
// Copyright (c) 2015 Realm. All rights reserved.
//
public enum ViolationSeverity: String, Comparable {
case Warning
case Error
}
// MARK: Comparable
public func < (lhs: ViolationSeverity, rhs: ViolationSeverity) -> Bool {
return lhs == .Warning && rhs == .Error
}