From 8eb366c914e588371303acd6b7a44700177e6c1d Mon Sep 17 00:00:00 2001 From: Tony Li Date: Thu, 29 Jun 2023 16:46:30 +1200 Subject: [PATCH] Report discarded notification observer as errors --- .swiftlint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.swiftlint.yml b/.swiftlint.yml index 51ba0c206ad9..3e9ca5ae7762 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -3,6 +3,10 @@ remote_timeout: 10.0 opt_in_rules: - overridden_super_call + - discarded_notification_center_observer overridden_super_call: severity: error + +discarded_notification_center_observer: + severity: error