mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
14 lines
609 B
Swift
14 lines
609 B
Swift
import SwiftLintCore
|
|
|
|
@AutoConfigParser
|
|
struct ShorthandArgumentConfiguration: SeverityBasedRuleConfiguration {
|
|
@ConfigurationElement(key: "severity")
|
|
private(set) var severityConfiguration = SeverityConfiguration<Parent>(.warning)
|
|
@ConfigurationElement(key: "allow_until_line_after_opening_brace")
|
|
private(set) var allowUntilLineAfterOpeningBrace = 4
|
|
@ConfigurationElement(key: "always_disallow_more_than_one")
|
|
private(set) var alwaysDisallowMoreThanOne = false
|
|
@ConfigurationElement(key: "always_disallow_member_access")
|
|
private(set) var alwaysDisallowMemberAccess = false
|
|
}
|