Enumerations
The following enumerations are available globally.
-
Bridge to convert SwiftSyntax classifications to SourceKitten syntax kinds. This enables SwiftSyntax-based custom rules to work with kind filtering without making any SourceKit calls.
See moreDeclaration
Swift
public enum SwiftSyntaxKindBridge -
The accessibility of a Swift source declaration.
See moreDeclaration
Swift
public enum AccessControlLevel : String, CustomStringConvertible, Sendableextension AccessControlLevel: Comparable -
This allows SourceKit request handling to determine certain properties without modifying function signatures throughout the codebase.
See moreDeclaration
Swift
public enum CurrentRule -
All possible SwiftLint issues which are printed as warnings by default.
See moreDeclaration
Swift
public enum Issue : LocalizedError, Equatable -
Type of an option.
See moreDeclaration
-
An identifier representing a SwiftLint rule, or all rules.
See moreDeclaration
Swift
public enum RuleIdentifier : Hashable, ExpressibleByStringLiteral, Comparable, Sendable -
All the possible rule kinds (categories).
See moreDeclaration
Swift
public enum RuleKind : String, CaseIterable, Codable, Sendable -
All possible rule list configuration errors.
See moreDeclaration
Swift
public enum RuleListError : Error -
The kind of expression for a contiguous set of Swift source tokens.
See moreDeclaration
Swift
public enum SwiftExpressionKind : String -
The magnitude of a
See moreStyleViolation.Declaration
Swift
public enum ViolationSeverity : String, Comparable, CaseIterable, Codable, Sendable, InlinableOptionType -
An identifier declaration.
See moreDeclaration
Swift
public enum IdentifierDeclaration : Hashable -
Strategy to apply when rewriting a legacy function call.
See moreDeclaration
Swift
public enum LegacyFunctionRewriteStrategy : Sendable
View on GitHub
Install in Dash
Enumerations Reference