diff --git a/.swiftlint.yml b/.swiftlint.yml index b3e0b0c..7184a50 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,8 +1,5 @@ disabled_rules: - identifier_name - type_name - # Swift 5.3 - - multiple_closures_with_trailing_closure - - no_space_in_method_call opt_in_rules: - sorted_imports diff --git a/ServiceLayer/Sources/ServiceLayer/Utilities/UserNotificationClient.swift b/ServiceLayer/Sources/ServiceLayer/Utilities/UserNotificationClient.swift index 3e61bf2..fb1dc7e 100644 --- a/ServiceLayer/Sources/ServiceLayer/Utilities/UserNotificationClient.swift +++ b/ServiceLayer/Sources/ServiceLayer/Utilities/UserNotificationClient.swift @@ -26,7 +26,6 @@ public struct UserNotificationClient { extension UserNotificationClient { public static func live(_ userNotificationCenter: UNUserNotificationCenter) -> Self { - // swiftlint:disable nesting final class Delegate: NSObject, UNUserNotificationCenterDelegate { let subject: PassthroughSubject @@ -52,7 +51,6 @@ extension UserNotificationClient { subject.send(.openSettingsForNotification(notification)) } } - // swiftlint:enable nesting let subject = PassthroughSubject() var delegate: Delegate? = Delegate(subject: subject) diff --git a/System/MetatextApp.swift b/System/MetatextApp.swift index 9e537c0..52433ff 100644 --- a/System/MetatextApp.swift +++ b/System/MetatextApp.swift @@ -5,9 +5,7 @@ import ViewModels @main struct MetatextApp: App { - // swiftlint:disable weak_delegate @UIApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate - // swiftlint:enable weak_delegate var body: some Scene { WindowGroup {