Enable SwiftLint rule 'cyclomatic_complexity' and fix violation which is reasonable
This commit is contained in:
parent
8345bb89a4
commit
2cdd0e2521
3 changed files with 39 additions and 51 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue