diff --git a/xcode/.swiftlint.yml b/xcode/.swiftlint.yml index 4bbc84c..6c66505 100644 --- a/xcode/.swiftlint.yml +++ b/xcode/.swiftlint.yml @@ -239,6 +239,12 @@ custom_rules: message: "Use сontentView instead of self for addSubview or addSubviews methods in cell." severity: error + redundant_type_annotation_bool: + name: "Redundant type annotation for Bool" + regex: '((: *Bool *= *)|(BehaviourRelay *= *\S*\s*))((true)|(false))' + message: "Using a type annotation for Bool is redundant" + severity: error + # Rx unused_map_parameter: