Skip to content

Allow beAKindOf and beAnInstanceOf to nest inside of other matchers #395

Allow beAKindOf and beAnInstanceOf to nest inside of other matchers

Allow beAKindOf and beAnInstanceOf to nest inside of other matchers #395

Triggered via pull request November 5, 2024 22:34
Status Success
Total duration 43s
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+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/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/Matchers/MatchError.swift#L62
Prefer Type Checking Violation: Prefer `a is X` to `a as? X != nil` (prefer_type_checking)