Files
SwiftLint/Source/SwiftLintBuiltInRules/Rules/RuleConfigurations/PrefixedTopLevelConstantConfiguration.swift
2023-10-03 18:05:31 +02:00

12 lines
390 B
Swift

import SwiftLintCore
@AutoApply
struct PrefixedTopLevelConstantConfiguration: SeverityBasedRuleConfiguration {
typealias Parent = PrefixedTopLevelConstantRule
@ConfigurationElement(key: "severity")
private(set) var severityConfiguration = SeverityConfiguration<Parent>(.warning)
@ConfigurationElement(key: "only_private")
private(set) var onlyPrivateMembers = false
}