Skip to content

clean old code

clean old code #4469

Triggered via push September 17, 2024 12:27
Status Success
Total duration 1m 28s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Lint: iOSClient/Media/NCMediaLayout.swift#L120
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/Activity/NCActivityTableViewCell.swift#L36
Unneeded Overridden Functions Violation: Remove overridden functions that don't do anything except call their super (unneeded_override)
Lint: iOSClient/Data/NCManageDatabase+Metadata.swift#L296
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/Share/NCShare.swift#L267
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Notification/NCNotification.swift#L347
Unneeded Overridden Functions Violation: Remove overridden functions that don't do anything except call their super (unneeded_override)
Lint: iOSClient/Networking/E2EE/NCEndToEndMetadataV20.swift#L362
Todo Violation: TODOs should be resolved (whats happen with < ?) (todo)
Lint: iOSClient/Networking/E2EE/NCEndToEndMetadataV20.swift#L376
Todo Violation: TODOs should be resolved (We need to check deleted, id y...) (todo)
Lint: iOSClient/Networking/NCNetworking+Upload.swift#L79
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/Networking/NCNetworking+Synchronization.swift#L86
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/Viewer/NCViewerNextcloudText/NCViewerNextcloudText.swift#L55
Todo Violation: FIXMEs should be resolved (ONLYOFFICE Due to the WK Share...) (todo)