mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
12 lines
374 B
Swift
12 lines
374 B
Swift
import SwiftLintCore
|
|
|
|
@AutoApply
|
|
struct ForWhereConfiguration: SeverityBasedRuleConfiguration, Equatable {
|
|
typealias Parent = ForWhereRule
|
|
|
|
@ConfigurationElement(key: "severity")
|
|
private(set) var severityConfiguration = SeverityConfiguration<Parent>(.warning)
|
|
@ConfigurationElement(key: "allow_for_as_filter")
|
|
private(set) var allowForAsFilter = false
|
|
}
|