mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
15 lines
540 B
Swift
15 lines
540 B
Swift
import SwiftLintCore
|
|
|
|
@AutoConfigParser
|
|
struct UnusedDeclarationConfiguration: SeverityBasedRuleConfiguration {
|
|
@ConfigurationElement(key: "severity")
|
|
private(set) var severityConfiguration = SeverityConfiguration<Parent>.error
|
|
@ConfigurationElement(key: "include_public_and_open")
|
|
private(set) var includePublicAndOpen = false
|
|
@ConfigurationElement(
|
|
key: "related_usrs_to_skip",
|
|
postprocessor: { $0.insert("s:7SwiftUI15PreviewProviderP") }
|
|
)
|
|
private(set) var relatedUSRsToSkip = Set<String>()
|
|
}
|