diff --git a/xcode/.swiftlint.yml b/xcode/.swiftlint.yml index bfd2f73..bab5181 100644 --- a/xcode/.swiftlint.yml +++ b/xcode/.swiftlint.yml @@ -247,7 +247,7 @@ custom_rules: redundant_type_annotation_string: name: "Redundant type annotation for Bool" - regex: '((var|let)) *\w+ *((: *Bool *=)|([^=]*= *BehaviourRelay\(\s*value\s*:)) *((true)|(false))' + regex: '((var|let)) *\w+ *((: *Bool *=)|([^=]*= *BehaviourRelay\(\ *value\ *:)) *((true)|(false))' message: "Using a type annotation for Bool is redundant" severity: error