浏览代码

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
 - trailing_whitespace
 - type_body_length
+- for_where
 
 excluded:
 - Carthage