Skip to content

chore(geo): resolve swiftformat errors and warnings (#3849) #970

chore(geo): resolve swiftformat errors and warnings (#3849)

chore(geo): resolve swiftformat errors and warnings (#3849) #970

Triggered via push October 10, 2024 22:39
Status Failure
Total duration 38s
Artifacts

swiftlint.yml

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

Annotations

3 errors and 11 warnings
run-swiftlint: AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Storage/SQLite/Statement+Model.swift#L189
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint
Process completed with exit code 2.
Confirm Passing SwiftLint
Process completed with exit code 1.
run-swiftlint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-swiftlint: Amplify/Core/Configuration/AmplifyConfiguration.swift#L114
Function should have complexity 10 or less; currently complexity is 13 (cyclomatic_complexity)
run-swiftlint: Amplify/Core/Configuration/Internal/Amplify+Reset.swift#L10
The disabled 'cyclomatic_complexity' rule should be re-enabled before the end of the file (blanket_disable_command)
run-swiftlint: Amplify/Core/Support/AmplifyTask+OperationTaskAdapters.swift#L69
Type name 'AmplifyInProcessReportingOperationTaskAdapter' should be between 3 and 40 characters long (type_name)
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/Auth/Request/AuthAttributeSendVerificationCodeRequest.swift#L10
The disabled 'type_name' rule should be re-enabled before the end of the file (blanket_disable_command)
run-swiftlint: Amplify/Categories/Auth/Request/AuthAttributeResendConfirmationCodeRequest.swift#L10
The disabled 'type_name' rule should be re-enabled before the end of the file (blanket_disable_command)
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/API/Interceptor/URLRequestInterceptor.swift#L22
TODOs should be resolved (turn async https://github.com/...) (todo)
run-swiftlint: Amplify/Categories/Predictions/Request/Convert/Convert.swift#L43
Tuples should have at most 2 members (large_tuple)