Skip to content

Replace usage of all the FileID/FilePath/line/column macros with SourceLocation #412

Replace usage of all the FileID/FilePath/line/column macros with SourceLocation

Replace usage of all the FileID/FilePath/line/column macros with SourceLocation #412

Triggered via pull request December 20, 2024 16:45
Status Success
Total duration 37s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: Sources/Nimble/DSL+Wait.swift#L39
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 53 lines (function_body_length)
lint: Sources/Nimble/DSL+Wait.swift#L45
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
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/Expectation.swift#L21
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Sources/Nimble/Adapters/NMBExpectation.swift#L191
Static Over Final Class Violation: Prefer `static` over `class` in a final class (static_over_final_class)
lint: Sources/Nimble/Expression.swift#L5
Redundant Optional Initialization Violation: Initializing an optional variable with nil is redundant (redundant_optional_initialization)