Skip to content

Recommended files

Recommended files #469

Triggered via pull request December 30, 2024 10:53
Status Success
Total duration 1m 1s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
Lint: Sources/NextcloudKit/NKLogger.swift#L20
Optional Data -> String Conversion Violation: Prefer failable `String(bytes:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
Lint: Sources/NextcloudKit/NKSession.swift#L133
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
Lint: Sources/NextcloudKit/Models/NKFile.swift#L24
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
Lint: Sources/NextcloudKit/NKDataFileXML.swift#L300
Function Body Length Violation: Function body should span 200 lines or less excluding comments and whitespace: currently spans 245 lines (function_body_length)
Lint: Sources/NextcloudKit/NKCommon.swift#L15
Class Delegate Protocol Violation: Delegate protocols should be class-only so they can be weakly referenced (class_delegate_protocol)