Sfoglia il codice sorgente

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 anni fa
parent
commit
4254d8512f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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