mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
14 lines
548 B
Swift
14 lines
548 B
Swift
/// All the possible rule kinds (categories).
|
|
public enum RuleKind: String, Codable {
|
|
/// Describes rules that validate Swift source conventions.
|
|
case lint
|
|
/// Describes rules that validate common practices in the Swift community.
|
|
case idiomatic
|
|
/// Describes rules that validate stylistic choices.
|
|
case style
|
|
/// Describes rules that validate magnitudes or measurements of Swift source.
|
|
case metrics
|
|
/// Describes rules that validate that code patterns with poor performance are avoided.
|
|
case performance
|
|
}
|