Skip to content

lint

lint #4138

Triggered via push July 4, 2024 12:55
Status Success
Total duration 1m 44s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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/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/Main/Collection Common/NCCollectionViewCommon.swift#L175
Todo Violation: FIXMEs should be resolved (iPAD PDF landscape mode iOS 16) (todo)
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)
Lint: iOSClient/Settings/Settings/E2EE/NCEndToEndInitialize.swift#L147
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Settings/Settings/E2EE/NCEndToEndInitialize.swift#L201
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Settings/Settings/E2EE/NCEndToEndInitialize.swift#L206
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)