Skip to content

resolve swiftformat errors and warnings #865

resolve swiftformat errors and warnings

resolve swiftformat errors and warnings #865

Triggered via push September 3, 2024 16:26
Status Failure
Total duration 38s
Artifacts

swiftlint.yml

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

Annotations

11 errors and 11 warnings
run-swiftlint: Amplify/DevMenu/Trigger/LongPressGestureRecognizer.swift#L30
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Model/UserProfile.swift#L63
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Model/BasicUserProfile.swift#L34
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Support/JSONValue+KeyPath.swift#L17
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Support/JSONValue.swift#L139
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Support/AmplifyAsyncSequence.swift#L22
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Support/Fatal.swift#L21
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Support/Fatal.swift#L37
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Support/DispatchSource+MakeOneOff.swift#L21
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
run-swiftlint: Amplify/Core/Support/DispatchSource+MakeOneOff.swift#L34
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/JSONValue+KeyPath.swift#L16
Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
run-swiftlint: Amplify/Core/Support/DispatchSource+MakeOneOff.swift#L19
Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
run-swiftlint: Amplify/Core/Support/DispatchSource+MakeOneOff.swift#L20
Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
run-swiftlint: Amplify/Core/Support/DispatchSource+MakeOneOff.swift#L32
Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
run-swiftlint: Amplify/Core/Support/DispatchSource+MakeOneOff.swift#L33
Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
run-swiftlint: Amplify/Core/Support/AmplifyTask+OperationTaskAdapters.swift#L68
Type name 'AmplifyInProcessReportingOperationTaskAdapter' should be between 3 and 40 characters long (type_name)
run-swiftlint: Amplify/Core/Configuration/AmplifyConfiguration.swift#L113
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)