From d6589c53a3f39eb90471fd25323d0eacfec17504 Mon Sep 17 00:00:00 2001 From: Vlad Date: Mon, 1 Jun 2020 22:46:05 +0300 Subject: [PATCH] Update rule --- xcode/.swiftlint.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xcode/.swiftlint.yml b/xcode/.swiftlint.yml index bab5181..a22ae70 100644 --- a/xcode/.swiftlint.yml +++ b/xcode/.swiftlint.yml @@ -240,12 +240,6 @@ custom_rules: severity: error redundant_type_annotation_bool: - name: "Redundant type annotation for Bool" - regex: '((var|let)) *\w+ *: *((Bool *= *)|(BehaviourRelay *= *\S*\s*))((true)|(false))' - message: "Using a type annotation for Bool is redundant" - severity: error - - redundant_type_annotation_string: name: "Redundant type annotation for Bool" regex: '((var|let)) *\w+ *((: *Bool *=)|([^=]*= *BehaviourRelay\(\ *value\ *:)) *((true)|(false))' message: "Using a type annotation for Bool is redundant"