소스 검색

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 년 전
부모
커밋
4254d8512f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .swiftlint.yml

+ 1 - 0
.swiftlint.yml

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