Skip to content

style: fix SwiftLint warnings #10

style: fix SwiftLint warnings

style: fix SwiftLint warnings #10

Triggered via push November 6, 2023 07:59
Status Failure
Total duration 3m 36s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Test
Process completed with exit code 70.
SwiftLint: SwiftlyUITests/SwiftlyUITests.swift#L18
Line Length Violation: Line should be 120 characters or less; currently it has 178 characters (line_length)
SwiftLint: Core/Sources/Common/DateUtils/DateMath.swift#L5
Operator Function Whitespace Violation: Operators should be surrounded by a single whitespace when defining them (operator_whitespace)
SwiftLint: Core/Sources/Common/DateUtils/DateMath.swift#L11
Operator Function Whitespace Violation: Operators should be surrounded by a single whitespace when defining them (operator_whitespace)
SwiftLint: Core/Sources/Common/DateUtils/DateMath.swift#L17
Operator Function Whitespace Violation: Operators should be surrounded by a single whitespace when defining them (operator_whitespace)
SwiftLint: Core/Sources/Common/DateUtils/Duration.swift#L8
Operator Function Whitespace Violation: Operators should be surrounded by a single whitespace when defining them (operator_whitespace)
SwiftLint: Core/Sources/Currency/Domain/Models/Currency.swift#L21
Line Length Violation: Line should be 120 characters or less; currently it has 136 characters (line_length)
SwiftLint: Core/Sources/Common/Provider/Provider.swift#L19
Blanket Disable Command Violation: The disabled 'force_cast' rule should be re-enabled before the end of the file (blanket_disable_command)
SwiftLint: Core/Sources/Currency/Data/Api/Model/CurrencyRatesApiModel.swift#L12
Nesting Violation: Types should be nested at most 1 level deep (nesting)
SwiftLint: Core/Sources/Currency/Data/Api/Model/CurrencyRatesApiModel.swift#L12
Nesting Violation: Types should be nested at most 1 level deep (nesting)
SwiftLint: Core/Tests/Converter/PresentationTests/ConverterViewModelTests.swift#L71
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 53 lines (function_body_length)