Skip to content

lint

lint #4139

Triggered via push July 4, 2024 12:57
Status Cancelled
Total duration 2m 16s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Lint
Canceling since a higher priority waiting request for 'SwiftLint-refs/heads/develop' exists
Lint
The operation was canceled.
Lint: iOSClient/Share/NCSharePaging.swift#L350
Vertical Whitespace Violation: Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
Lint: iOSClient/Share/NCShare.swift#L272
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Extensions/Data+Extension.swift#L33
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: iOSClient/Extensions/Data+Extension.swift#L47
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: iOSClient/Main/NCDragDrop.swift#L72
Control Statement Violation: `if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
Lint: iOSClient/Main/NCDragDrop.swift#L68
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
Lint: iOSClient/Main/Collection Common/NCCollectionViewCommon.swift#L175
Todo Violation: FIXMEs should be resolved (iPAD PDF landscape mode iOS 16) (todo)
Lint: iOSClient/Main/Create cloud/NCCreateDocument.swift#L39
Control Statement Violation: `if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
Lint: iOSClient/Menu/NCCollectionViewCommon+Menu.swift#L196
Todo Violation: FIXMEs should be resolved (PROPPATCH doesn't work) (todo)
Lint: iOSClient/Settings/Settings/E2EE/NCEndToEndInitialize.swift#L155
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)