chore(storage): resolve swiftformat errors and warnings #875
swiftlint.yml
on: push
run-swiftlint
22s
Confirm Passing SwiftLint
0s
Annotations
11 errors and 11 warnings
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/AWSS3ListObjectsV2Request.swift#L32
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/AWSS3PreSignedURLBuilderAdapter.swift#L40
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Tasks/AWSS3StorageListObjectsTask.swift#L24
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Tasks/AWSS3torageGetURLTask.swift#L22
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Tasks/AWSS3StorageRemoveTask.swift#L24
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Operation/AWSS3StorageDownloadDataOperation.swift#L39
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Operation/AWSS3StorageUploadFileOperation.swift#L39
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Operation/AWSS3StorageUploadFileOperation.swift#L158
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Operation/AWSS3StorageUploadDataOperation.swift#L39
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
run-swiftlint:
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Operation/AWSS3StorageUploadDataOperation.swift#L135
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)
|