Skip to content

Fix Swiftlint error #2859

Fix Swiftlint error

Fix Swiftlint error #2859

Triggered via pull request September 11, 2024 08:32
Status Success
Total duration 2m 30s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
SwiftLint: NextcloudTalkTests/Integration/Helpers.swift#L12
Todo Violation: TODOs should be resolved (This should probably be part o...) (todo)
SwiftLint: NextcloudTalkTests/UI/Helpers.swift#L102
Todo Violation: TODOs should be resolved (Find a better way to reliable ...) (todo)
SwiftLint: ShareExtension/ShareConfirmationViewController.swift#L558
Todo Violation: TODOs should be resolved (This has no effect on ShareExt...) (todo)
SwiftLint: ShareExtension/ShareConfirmationViewController.swift#L610
Todo Violation: TODOs should be resolved (Do error reporting per item) (todo)
SwiftLint: NextcloudTalk/NCChatMessage.swift#L134
Todo Violation: TODOs should be resolved (Should probably be an optional...) (todo)
SwiftLint: NextcloudTalk/NCChatMessage.swift#L141
Todo Violation: TODOs should be resolved (Should probably be an optional...) (todo)
SwiftLint: NextcloudTalk/UserStatusMessageSwiftUIView.swift#L291
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 18 (cyclomatic_complexity)
SwiftLint: NextcloudTalk/UserStatusMessageSwiftUIView.swift#L85
Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)
SwiftLint: NextcloudTalk/UserStatusMessageSwiftUIView.swift#L104
Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)
SwiftLint: NextcloudTalk/DiagnosticsTableViewController.swift#L289
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)