Files
Danny Mösch 043f9cac5b Introduce internal CLI to simplify development tasks (#6032)
Start with a command that generates a template for a new SwiftSyntax
rule. This tool could remain separate or be merged into the official
binary under a `dev` sub-command at a later point in time.
2025-03-23 01:21:41 +01:00

14 lines
572 B
Swift

/// All the possible rule kinds (categories).
public enum RuleKind: String, CaseIterable, 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
}