Files
SwiftLint/Source/SwiftLintFramework/Rule.swift
T
2015-05-18 05:08:04 +02:00

19 lines
377 B
Swift

//
// Rule.swift
// SwiftLint
//
// Created by JP Simard on 2015-05-16.
// Copyright (c) 2015 Realm. All rights reserved.
//
import SourceKittenFramework
protocol Rule {
typealias ParameterType
static var identifier: String { get }
static var parameters: [RuleParameter<ParameterType>] { get }
static func validateFile(file: File) -> [StyleViolation]
}