Enable SwiftLint rule 'conditional_returns_on_newline' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-04 21:57:26 +02:00 committed by Mingshen Sun
parent fdca54a0ab
commit 08473f8f05
3 changed files with 16 additions and 6 deletions

View file

@ -20,7 +20,7 @@ whitelist_rules:
- colon
- comma
- compiler_protocol_init
# - conditional_returns_on_newline
- conditional_returns_on_newline
- contains_over_filter_count
- contains_over_filter_is_empty
# - contains_over_first_not_nil