diff --git a/.swiftlint.yml b/.swiftlint.yml index 6652bee9..52527f7b 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -20,6 +20,9 @@ only_rules: # if,for,while,do statements shouldn't wrap their conditionals in parentheses. - control_statement + # Prefer checking `isEmpty` over comparing `count` to zero. + - empty_count + # Arguments can be omitted when matching enums with associated types if they # are not used. - empty_enum_arguments