Skip to content

Fix concurrency warnings for more objective-c/foundation types #380

Fix concurrency warnings for more objective-c/foundation types

Fix concurrency warnings for more objective-c/foundation types #380

Triggered via pull request October 14, 2024 04:20
Status Success
Total duration 44s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: Tests/NimbleTests/PollingTest+Require.swift#L53
Redundant Optional Initialization Violation: Initializing an optional variable with nil is redundant (redundant_optional_initialization)
lint: Tests/NimbleTests/PollingTest+Require.swift#L252
Trailing Newline Violation: Files should have a single trailing newline (trailing_newline)
lint: Tests/NimbleTests/PollingTest+Require.swift#L15
Superfluous Disable Command Violation: SwiftLint rule 'type_body_length' did not trigger a violation in the disabled region; remove the disable command (superfluous_disable_command)
lint: Tests/NimbleTests/Matchers/ThrowErrorTest.swift#L131
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Tests/NimbleTests/Matchers/EqualTest.swift#L163
Non-optional String -> Data Conversion Violation: Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (non_optional_string_data_conversion)
lint: Tests/NimbleTests/Matchers/EqualTest.swift#L164
Non-optional String -> Data Conversion Violation: Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (non_optional_string_data_conversion)
lint: Tests/NimbleTests/Matchers/EqualTest.swift#L165
Non-optional String -> Data Conversion Violation: Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (non_optional_string_data_conversion)
lint: Tests/NimbleTests/Matchers/ThrowAssertionTest.swift#L13
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Tests/NimbleTests/Matchers/ThrowAssertionTest.swift#L64
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Tests/NimbleTests/SynchronousTest.swift#L142
Implicit Getter Violation: Computed read-only properties should avoid using the get keyword (implicit_getter)