Remove outdated swiftlint directives

This commit is contained in:
Justin Mazzocchi 2020-12-17 16:18:30 -08:00
parent d86bbda4c2
commit 94cbbb2f04
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C
3 changed files with 0 additions and 7 deletions

View file

@ -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

View file

@ -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<DelegateEvent, Never>
@ -52,7 +51,6 @@ extension UserNotificationClient {
subject.send(.openSettingsForNotification(notification))
}
}
// swiftlint:enable nesting
let subject = PassthroughSubject<DelegateEvent, Never>()
var delegate: Delegate? = Delegate(subject: subject)

View file

@ -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 {