From 905b8301e683371b4ea14b2250a5d62f85389a2c Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Fri, 27 Mar 2026 15:36:33 +1100 Subject: [PATCH] Enable empty_string SwiftLint rule This advances the Orchard rollout in Tracks. The repo was already clean for this rule, so only the lint config changed. --- Generated with the help of Codex, GPT-5 --- .swiftlint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.swiftlint.yml b/.swiftlint.yml index b92c9b21..709de1eb 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -27,6 +27,9 @@ only_rules: # Prefer `() -> ` over `Void -> `. - empty_parameters + # Empty strings should be compared to `""` only if `isEmpty` cannot be used. + - empty_string + # MARK comment should be in valid format. - mark