update swiftlint.yml

This commit is contained in:
Jesse Squires 2020-03-17 21:05:22 -07:00
parent de6dadfec1
commit 35e588203a
No known key found for this signature in database
GPG Key ID: 153766AC1FA1A758

View File

@ -30,6 +30,7 @@ opt_in_rules:
- contains_over_filter_count
- contains_over_filter_is_empty
- empty_collection_literal
- type_contents_order
# idiomatic
- fatal_error_message
@ -86,3 +87,21 @@ type_body_length: 500
function_body_length: 250
cyclomatic_complexity: 15
type_contents_order:
order:
- associated_type
- type_alias
- case
- subtype
- type_property
- ib_outlet
- ib_inspectable
- instance_property
- initializer
- deinitializer
- subscript
- type_method
- view_life_cycle_method
- ib_action
- other_method