Skip to content

Fix build error when using UI Tests #377

Fix build error when using UI Tests

Fix build error when using UI Tests #377

Triggered via pull request October 13, 2024 22:56
Status Success
Total duration 39s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: Sources/Nimble/Requirement.swift#L18
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L19
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L38
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L55
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L40
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Sources/Nimble/DSL+Require.swift#L260
Line Length Violation: Line should be 160 characters or less; currently it has 169 characters (line_length)
lint: Sources/Nimble/DSL+Require.swift#L280
Line Length Violation: Line should be 160 characters or less; currently it has 169 characters (line_length)
lint: Sources/Nimble/DSL+Wait.swift#L45
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 51 lines (function_body_length)
lint: Sources/Nimble/DSL+Wait.swift#L54
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Sources/Nimble/Matchers/MatchError.swift#L62
Prefer Type Checking Violation: Prefer `a is X` to `a as? X != nil` (prefer_type_checking)