mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-22 05:26:30 +00:00
Remove outdated swiftlint directives
This commit is contained in:
parent
d86bbda4c2
commit
94cbbb2f04
3 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue