Skip to content

Fix yaml issue in template #4526

Fix yaml issue in template

Fix yaml issue in template #4526

Triggered via pull request September 24, 2024 17:34
Status Failure
Total duration 1m 17s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Lint: iOSClient/Files/NCFiles.swift#L175
Attribute Name Spacing Violation: `@escaping` must have a trailing space before the associated type (attribute_name_spacing)
Lint: File Provider Extension/FileProviderExtension+Actions.swift#L166
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
Lint: File Provider Extension/FileProviderEnumerator.swift#L108
Non-optional String -> Data Conversion Violation: Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (non_optional_string_data_conversion)
Lint: File Provider Extension/FileProviderEnumerator.swift#L150
Non-optional String -> Data Conversion Violation: Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (non_optional_string_data_conversion)
Lint: File Provider Extension/FileProviderEnumerator.swift#L155
Non-optional String -> Data Conversion Violation: Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (non_optional_string_data_conversion)
Lint: iOSClient/Networking/E2EE/NCEndToEndMetadataV20.swift#L364
Todo Violation: TODOs should be resolved (whats happen with < ?) (todo)
Lint: iOSClient/Networking/E2EE/NCEndToEndMetadataV20.swift#L378
Todo Violation: TODOs should be resolved (We need to check deleted, id y...) (todo)
Lint: iOSClient/Networking/NCNetworking+Synchronization.swift#L84
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+Upload.swift#L87
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+WebDAV.swift#L382
Comma Spacing Violation: There should be no space before and one after any comma (comma)
Lint: iOSClient/Notification/NCNotification.swift#L350
Unneeded Overridden Functions Violation: Remove overridden functions that don't do anything except call their super (unneeded_override)