Skip to content

Improve the mark messages as read logic #3046

Improve the mark messages as read logic

Improve the mark messages as read logic #3046

Triggered via pull request February 3, 2025 06:50
Status Success
Total duration 38s
Artifacts

swiftlint.yml

on: pull_request
SwiftLint
30s
SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
SwiftLint: GliaWidgets/SecureConversations/ChatTranscript/SecureConversations.TranscriptModel.swift#L767
Vertical Whitespace after Opening Braces Violation: Don't include vertical whitespace (empty line) after opening braces (vertical_whitespace_opening_braces)
SwiftLint: GliaWidgets/Sources/ViewModel/Chat/ChatViewModel.swift#L1038
File Length Violation: File should contain 1000 lines or less: currently contains 1038 (file_length)
SwiftLint: GliaWidgets/Sources/ViewModel/Chat/ChatViewModel.swift#L1013
Vertical Whitespace after Opening Braces Violation: Don't include vertical whitespace (empty line) after opening braces (vertical_whitespace_opening_braces)
SwiftLint: GliaWidgets/Sources/ViewModel/Chat/Data/Gva.swift#L93
Optional Data -> String Conversion Violation: Prefer failable `String(bytes:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint: GliaWidgets/Sources/ViewModel/Chat/Data/Gva.swift#L112
Optional Data -> String Conversion Violation: Prefer failable `String(bytes:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint: GliaWidgets/Sources/CallVisualizer/CallVisualizer.swift#L144
Function Body Length Violation: Function body should span 60 lines or less excluding comments and whitespace: currently spans 65 lines (function_body_length)
SwiftLint: GliaWidgets/Sources/ViewController/Chat/ChatViewController.swift#L4
Type Body Length Violation: Type body should span 250 lines or less excluding comments and whitespace: currently spans 253 lines (type_body_length)
SwiftLint: GliaWidgets/Public/Glia/Glia.OpaqueAuthentication.swift#L73
Function Body Length Violation: Function body should span 60 lines or less excluding comments and whitespace: currently spans 71 lines (function_body_length)
SwiftLint: GliaWidgets/Public/Glia/Glia.swift#L206
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
SwiftLint: GliaWidgets/Public/Glia/Glia.swift#L206
Function Body Length Violation: Function body should span 60 lines or less excluding comments and whitespace: currently spans 79 lines (function_body_length)