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
extension AccessControlLevel: Comparable
-
A task-local value that holds the identifier of the currently executing rule. This allows SourceKit request handling to determine if the current rule is a SourceKitFreeRule 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