Skip to content

Cleaning old code (#2941) #4002

Cleaning old code (#2941)

Cleaning old code (#2941) #4002

Triggered via push June 6, 2024 07:41
Status Success
Total duration 1m 16s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Lint: iOSClient/Share/NCShare.swift#L279
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Notification/NCNotification.swift#L352
Unneeded Overridden Functions Violation: Remove overridden functions that don't do anything except call their super (unneeded_override)
Lint: iOSClient/Settings/Settings/E2EE/NCEndToEndInitialize.swift#L157
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#L149
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Settings/Settings/E2EE/NCEndToEndInitialize.swift#L203
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Settings/Settings/E2EE/NCEndToEndInitialize.swift#L208
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Lint: iOSClient/Media/NCMediaLayout.swift#L121
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/Media/NCMedia.swift#L255
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/Media/NCMedia.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/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)