fix warnings #1063
swiftlint.yml
on: push
run-swiftlint
21s
Confirm Passing SwiftLint
0s
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)
|