Files
SwiftLint/Source/SwiftLintFramework/Models/RuleKind.swift
T
JP Simard 3a0c2b0c05 Migrate LinterCache to use Codable models (#2799)
* Migrate LinterCache to use Codable models

improving performance and type safety

* Fix Linux

* Avoid creating a Decoder if it won't be used

For example if the file doesn't exist or can't be read.

* Use corelibs plist coder if available

It's available in the Swift 5.1 branch: https://github.com/apple/swift-corelibs-foundation/pull/1849

* Remove unused error case
2019-07-07 00:35:10 -07:00

8 lines
128 B
Swift

public enum RuleKind: String, Codable {
case lint
case idiomatic
case style
case metrics
case performance
}