Skip to content

chore(analytics): resolve swiftformat errors and warnings #872

chore(analytics): resolve swiftformat errors and warnings

chore(analytics): resolve swiftformat errors and warnings #872

Triggered via push September 3, 2024 18:05
Status Failure
Total duration 1m 27s
Artifacts

swiftlint.yml

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

Annotations

11 errors and 11 warnings
run-swiftlint: AmplifyPlugins/Analytics/Sources/AWSPinpointAnalyticsPlugin/AWSPinpointAnalyticsPlugin+Options.swift#L21
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Analytics/Sources/AWSPinpointAnalyticsPlugin/AWSPinpointAnalyticsPlugin+Options.swift#L28
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Analytics/Sources/AWSPinpointAnalyticsPlugin/AWSPinpointAnalyticsPlugin+Configure.swift#L89
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Analytics/Sources/AWSPinpointAnalyticsPlugin/Configuration/AWSPinpointAnalyticsPluginConfiguration.swift#L70
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Analytics/Sources/AWSPinpointAnalyticsPlugin/Configuration/AWSPinpointAnalyticsPluginConfiguration.swift#L82
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Analytics/Sources/AWSPinpointAnalyticsPlugin/Configuration/AWSPinpointAnalyticsPluginConfiguration.swift#L107
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Internal/Sources/InternalAWSPinpoint/Endpoint/PinpointEndpointProfile.swift#L37
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Internal/Sources/InternalAWSPinpoint/Endpoint/PinpointEndpointProfile.swift#L101
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Internal/Sources/InternalAWSPinpoint/Context/AWSPinpointFactory.swift#L29
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: AmplifyPlugins/Internal/Sources/InternalAWSPinpoint/Context/PinpointContext+AWSPinpointBehavior.swift#L36
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
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/Amplify.swift#L82
Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
run-swiftlint: Amplify/Core/Support/AmplifyTask+OperationTaskAdapters.swift#L67
Type name 'AmplifyInProcessReportingOperationTaskAdapter' should be between 3 and 40 characters long (type_name)
run-swiftlint: Amplify/Core/Configuration/AmplifyConfiguration.swift#L112
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/Categories/Hub/HubChannel.swift#L48
Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
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/Operation/NondeterminsticOperation.swift#L8
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)