Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
4254d8512f
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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