mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
18 lines
619 B
Swift
18 lines
619 B
Swift
import SwiftLintCore
|
|
|
|
@AutoConfigParser
|
|
struct BlanketDisableCommandConfiguration: SeverityBasedRuleConfiguration {
|
|
@ConfigurationElement(key: "severity")
|
|
private(set) var severityConfiguration = SeverityConfiguration<Parent>(.warning)
|
|
@ConfigurationElement(key: "allowed_rules")
|
|
private(set) var allowedRuleIdentifiers: Set<String> = [
|
|
"file_header",
|
|
"file_length",
|
|
"file_name",
|
|
"file_name_no_space",
|
|
"single_test_class",
|
|
]
|
|
@ConfigurationElement(key: "always_blanket_disable")
|
|
private(set) var alwaysBlanketDisableRuleIdentifiers: Set<String> = []
|
|
}
|