Skip to content

fix warnings

fix warnings #1063

Triggered via push January 31, 2025 18:59
Status Success
Total duration 40s
Artifacts

swiftlint.yml

on: push
run-swiftlint
21s
run-swiftlint
Confirm Passing SwiftLint
0s
Confirm Passing SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
run-swiftlint: Amplify/Categories/API/Interceptor/URLRequestInterceptor.swift#L22
TODOs should be resolved (turn async https://github.com/...) (todo)
run-swiftlint: Amplify/Categories/API/Operation/NondeterminsticOperation.swift#L8
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
run-swiftlint: Amplify/Categories/API/Operation/RetryableGraphQLOperation.swift#L134
Variable name 'it' should be between 3 and 40 characters long (identifier_name)
run-swiftlint: Amplify/Categories/API/Operation/RetryableGraphQLOperation.swift#L11
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
run-swiftlint: Amplify/Categories/Storage/Result/StorageListResult.swift#L35
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
run-swiftlint: Amplify/Categories/Storage/Operation/Request/StorageDownloadDataRequest.swift#L20
Lines should not have trailing whitespace (trailing_whitespace)
run-swiftlint: Amplify/Categories/Hub/HubChannel.swift#L48
Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryOperator.swift#L23
Function should have complexity 10 or less; currently complexity is 15 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryOperator.swift#L69
Function should have complexity 10 or less; currently complexity is 13 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryPredicate.swift#L78
`where` clauses are preferred over a single `if` inside a `for` (for_where)