chore: fix swiftlint errors #1019
swiftlint.yml
on: push
run-swiftlint
23s
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/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/Core/Configuration/Internal/Amplify+Reset.swift#L54
Lines should not have trailing whitespace (trailing_whitespace)
|
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/Categories/Storage/Result/StorageListResult.swift#L35
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
|
run-swiftlint:
Amplify/Categories/Storage/Operation/Request/StorageDownloadDataRequest.swift#L20
Lines should not have trailing whitespace (trailing_whitespace)
|
run-swiftlint:
Amplify/Categories/Auth/AuthCategoryBehavior.swift#L105
Lines should not have trailing whitespace (trailing_whitespace)
|
run-swiftlint:
Amplify/Categories/Auth/AuthCategoryBehavior.swift#L108
Lines should not have trailing whitespace (trailing_whitespace)
|
run-swiftlint:
Amplify/Categories/Auth/AuthCategoryBehavior.swift#L105
Limit vertical whitespace to a single empty line; currently 2 (vertical_whitespace)
|