Enable SwiftLint rule 'cyclomatic_complexity' and fix violation which is reasonable

This commit is contained in:
Danny Moesch 2020-09-19 17:15:49 +02:00 committed by Mingshen Sun
parent 8345bb89a4
commit 2cdd0e2521
3 changed files with 39 additions and 51 deletions

View file

@ -32,7 +32,7 @@ whitelist_rules:
- control_statement
- convenience_type
- custom_rules
# - cyclomatic_complexity
- cyclomatic_complexity
- deployment_target
- discarded_notification_center_observer
- discouraged_direct_init