Files
JP Simard 6e3bfc1a45 Fix more strict concurrency warnings (#5324)
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.
2023-11-01 12:41:54 -04:00

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
}