test: Fixing existing unit tests #821
swiftlint.yml
on: push
run-swiftlint
17s
Confirm Passing SwiftLint
0s
Annotations
11 warnings
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)
|