Skip to content

[#1466] Choose the best server by testing responses from multiple hosts #167

[#1466] Choose the best server by testing responses from multiple hosts

[#1466] Choose the best server by testing responses from multiple hosts #167

Triggered via pull request September 5, 2024 06:52
Status Success
Total duration 39s
Artifacts

swiftlint.yml

on: pull_request
SwiftLint
31s
SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
SwiftLint: Sources/ZcashLightClientKit/Modules/Service/LightWalletService.swift#L27
Blanket Disable Command Violation: Use 'next', 'this' or 'previous' instead to disable the 'cyclomatic_complexity' rule once, or re-enable it as soon as possible` (blanket_disable_command)
SwiftLint: Sources/ZcashLightClientKit/Modules/Service/GRPC/LightWalletGRPCService.swift#L213
Line Length Violation: Line should be 150 characters or less; currently it has 162 characters (line_length)
SwiftLint: Sources/ZcashLightClientKit/Error/ZcashErrorCodeDefinition.swift#L10
Blanket Disable Command Violation: Use 'next', 'this' or 'previous' instead to disable the 'identifier_name' rule once, or re-enable it as soon as possible` (blanket_disable_command)
SwiftLint: Sources/ZcashLightClientKit/Block/Enhance/BlockEnhancer.swift#L68
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 15 (cyclomatic_complexity)
SwiftLint: Sources/ZcashLightClientKit/Block/Enhance/BlockEnhancer.swift#L128
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
SwiftLint: Sources/ZcashLightClientKit/Metrics/SDKMetrics.swift#L104
Blanket Disable Command Violation: Use 'next', 'this' or 'previous' instead to disable the 'string_concatenation' rule once, or re-enable it as soon as possible` (blanket_disable_command)
SwiftLint: Sources/ZcashLightClientKit/Extensions/ZcashRust+Utils.swift#L15
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
SwiftLint: Sources/ZcashLightClientKit/Synchronizer.swift#L379
Function Parameter Count Violation: Function should have 5 parameters or less: it currently has 6 (function_parameter_count)
SwiftLint: Sources/ZcashLightClientKit/Synchronizer/Dependencies.swift#L11
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 15 (cyclomatic_complexity)
SwiftLint: Sources/ZcashLightClientKit/Entity/TransactionEntity.swift#L127
Opening Brace Spacing Violation: Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)