diff --git a/.swiftlint.yml b/.swiftlint.yml index bf5f89e26..d63d8c637 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -9,3 +9,6 @@ line_length: ignores_comments: true ignores_urls: true +disabled_rules: + - todo + diff --git a/Modules/Account/Sources/Account/NewsBlur/Internals/NewsBlurAccountDelegate+Internal.swift b/Modules/Account/Sources/Account/NewsBlur/Internals/NewsBlurAccountDelegate+Internal.swift index ec3e20c35..936f0554e 100644 --- a/Modules/Account/Sources/Account/NewsBlur/Internals/NewsBlurAccountDelegate+Internal.swift +++ b/Modules/Account/Sources/Account/NewsBlur/Internals/NewsBlurAccountDelegate+Internal.swift @@ -278,9 +278,9 @@ extension NewsBlurAccountDelegate { } func sendStoryStatuses(_ statuses: [SyncStatus], - throttle: Bool, - apiCall: ([String], @escaping (Result) -> Void) -> Void, - completion: @escaping (Result) -> Void) { + throttle: Bool, + apiCall: ([String], @escaping (Result) -> Void) -> Void, + completion: @escaping (Result) -> Void) { guard !statuses.isEmpty else { completion(.success(())) return