Skip to content

Commit

Permalink
Merge pull request #175 from mattrubin/swiftlint
Browse files Browse the repository at this point in the history
Enable several new SwiftLint opt-in rules
  • Loading branch information
mattrubin authored Apr 21, 2018
2 parents eaf2bbf + 0c38045 commit 02f339f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ opt_in_rules:
- contains_over_first_not_nil
- discouraged_object_literal
- discouraged_optional_boolean
- discouraged_optional_collection
- empty_count
- empty_string
- explicit_enum_raw_value
- explicit_init
- extension_access_modifier
Expand All @@ -23,6 +25,7 @@ opt_in_rules:
- joined_default_parameter
- let_var_whitespace
- literal_expression_end_indentation
- lower_acl_than_parent
- multiline_parameters
- nimble_operator
- operator_usage_whitespace
Expand All @@ -36,6 +39,7 @@ opt_in_rules:
- sorted_first_last
- switch_case_on_newline
- unneeded_parentheses_in_closure_argument
- untyped_error_in_catch
- vertical_parameter_alignment_on_call
- yoda_condition
disabled_rules:
Expand Down

0 comments on commit 02f339f

Please sign in to comment.