diff --git a/.swiftlint.yml b/.swiftlint.yml index ef8311c1..207d153d 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -39,6 +39,9 @@ only_rules: # Empty strings should be compared to `""` only if `isEmpty` cannot be used. - empty_string + # Prefer `first(where:)` over `filter { }.first`. + - first_where + # MARK comment should be in valid format. - mark