Improved Search #689
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
9 errors
SwiftLint:
Mlem/Views/Tabs/Search/SearchModel.swift#L158
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
|
SwiftLint:
Mlem/Views/Tabs/Search/SearchModel.swift#L73
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 73 lines (function_body_length)
|
SwiftLint:
Mlem/Views/Tabs/Search/SearchModel.swift#L168
Redundant Optional Initialization Violation: Initializing an optional variable with nil is redundant (redundant_optional_initialization)
|
SwiftLint:
Mlem/Views/Tabs/Search/SearchModel.swift#L143
Vertical Whitespace Violation: Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
|
SwiftLint:
Mlem/Views/Tabs/Search/SearchView.swift#L117
Unused Closure Parameter Violation: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
|
SwiftLint:
Mlem/Views/Tabs/Search/SearchView.swift#L118
Unused Closure Parameter Violation: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
|
SwiftLint:
Mlem/Views/Tabs/Search/Components/SearchFilterView.swift#L44
Statement Position Violation: Else and catch should be on the same line, one space after the previous declaration (statement_position)
|
SwiftLint:
Mlem/Views/Tabs/Search/Components/Results/PostResultView.swift#L87
Line Length Violation: Line should be 140 characters or less; currently it has 142 characters (line_length)
|
SwiftLint:
Mlem/Views/Tabs/Search/Components/Results/PostResultView.swift#L42
Redundant Optional Initialization Violation: Initializing an optional variable with nil is redundant (redundant_optional_initialization)
|