Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 12 additions & 19 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,46 @@
# Minimal SwiftLint configuration
# SwiftFormat handles all formatting, so SwiftLint focuses on code quality and best practices

disabled_rules:
- vertical_parameter_alignment_on_call # Conflicts with SwiftFormat's --wrap-arguments before-first
- trailing_comma # SwiftFormat handles this with --trailing-commas never
- sorted_imports # SwiftFormat handles this with --import-grouping testable-last
- line_length
- opening_brace
- function_parameter_count
- nesting
- large_tuple
- type_name
- force_unwrapping
- blanket_disable_command

opt_in_rules:
- array_init
- block_based_kvo
- closure_end_indentation
- closure_spacing
- contains_over_first_not_nil
- convenience_type
- discouraged_assert
- discouraged_object_literal
- discouraged_optional_boolean
- empty_count
- empty_string
- empty_xctest_method
- explicit_init
- extension_access_modifier
- fatal_error_message
- file_header
- file_length
- first_where
- force_cast
- force_try
- force_unwrapping
- implicit_return
- joined_default_parameter
- last_where
- legacy_random
- lower_acl_than_parent
- modifier_order
- multiline_function_chains
- multiline_parameters
- multiline_parameters_brackets
- no_fallthrough_only
- operator_usage_whitespace
- overridden_super_call
- private_action
- private_outlet
- private_unit_test
- prohibited_super_call
- redundant_nil_coalescing
- single_test_class
- sorted_first_last
- static_operator
- strong_iboutlet
- switch_case_alignment
- trailing_closure
- unavailable_function
Expand All @@ -56,14 +51,12 @@ opt_in_rules:
- xctfail_message
- yoda_condition

private_outlet:
allow_private_set: true

multiline_parameters:
allows_single_line: false

excluded:
- .build
- "**/.build"
- DerivedData
- Pods
- Carthage
Expand Down
Loading