mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
6e3bfc1a45
These aren't enough to enable `-strict-concurrency=complete` for more modules, but they address some warnings with that flag on and reduces the scope of what remains to be migrated.
14 lines
558 B
Swift
14 lines
558 B
Swift
/// All the possible rule kinds (categories).
|
|
public enum RuleKind: String, Codable, Sendable {
|
|
/// 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
|
|
}
|