Browse Source

allow if inside a for-loop

sth like "for option in options where option = 1" is not always better readable
and requires additional understanding of the language.
it might be used, but we should not enforce it.
B. Petersen 5 years ago
parent
commit
4254d8512f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .swiftlint.yml

+ 1 - 0
.swiftlint.yml

@@ -8,6 +8,7 @@ disabled_rules:
 - todo
 - trailing_whitespace
 - type_body_length
+- for_where
 
 excluded:
 - Carthage