From 70a4dcd273139bb2f9587074d031a9af08dacd9b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 22 Jan 2025 22:43:57 -0800 Subject: [PATCH] Fix lint issues. --- .swiftlint.yml | 3 +++ .../Internals/NewsBlurAccountDelegate+Internal.swift | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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