Files
SwiftLint/Source/SwiftLintBuiltInRules/Rules/RuleConfigurations/BlanketDisableCommandConfiguration.swift
T
2025-12-01 14:15:00 -05:00

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> = []
}