mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
minor style change replacing '{ }' with '{}'
to stay consistent with other empty functions
This commit is contained in:
@@ -11,7 +11,7 @@ import SourceKittenFramework
|
||||
public struct EmptyCountRule: ConfigProviderRule, OptInRule {
|
||||
public var config = SeverityConfig(.Error)
|
||||
|
||||
public init() { }
|
||||
public init() {}
|
||||
|
||||
public static let description = RuleDescription(
|
||||
identifier: "empty_count",
|
||||
|
||||
@@ -12,7 +12,7 @@ public struct LegacyConstantRule: CorrectableRule, ConfigProviderRule {
|
||||
|
||||
public var config = SeverityConfig(.Warning)
|
||||
|
||||
public init() { }
|
||||
public init() {}
|
||||
|
||||
public static let description = RuleDescription(
|
||||
identifier: "legacy_constant",
|
||||
|
||||
Reference in New Issue
Block a user