chore(datastore): resolve swiftformat errors and warnings #870
Annotations
10 errors and 11 warnings
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/DataStoreSyncExpression.swift#L19
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Configuration/DataStoreConfiguration.swift#L84
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Configuration/DataStoreConfiguration.swift#L102
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/AWSDataStorePlugin+DataStoreSubscribeBehavior.swift#L32
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Storage/SQLite/QuerySortDescriptor.swift#L50
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Storage/SQLite/StorageEngineAdapter+SQLite.swift#L33
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Storage/SQLite/StorageEngineAdapter+SQLite.swift#L61
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Storage/SQLite/StorageEngineAdapter+SQLite.swift#L141
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Storage/SQLite/StorageEngineAdapter+SQLite.swift#L154
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Storage/SQLite/StorageEngineAdapter+SQLite.swift#L165
Opening braces should be preceded by a single space and on the same line as the declaration (opening_brace)
|
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/
|
Amplify/Amplify.swift#L82
Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
|
Amplify/Categories/Hub/HubChannel.swift#L48
Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
|
Amplify/Categories/DataStore/DataStoreCategoryBehavior.swift#L53
Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
|
Amplify/Categories/DataStore/DataStoreError.swift#L66
TODOs should be resolved (Is this the right command to r...) (todo)
|
Amplify/Categories/DataStore/Query/QueryPredicate.swift#L78
`where` clauses are preferred over a single `if` inside a `for` (for_where)
|
Amplify/Categories/DataStore/Query/QueryPredicate.swift#L85
`where` clauses are preferred over a single `if` inside a `for` (for_where)
|
Amplify/Categories/DataStore/Query/QueryOperator.swift#L22
Function should have complexity 10 or less; currently complexity is 13 (cyclomatic_complexity)
|
Amplify/Categories/DataStore/Query/QueryOperator.swift#L62
Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
|
Amplify/Categories/DataStore/Model/Internal/Schema/ModelSchema+Definition.swift#L68
Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
|
Amplify/Categories/DataStore/Model/Internal/Schema/Model+Schema.swift#L17
TODOs should be resolved (load schema from JSON when thi...) (todo)
|
This job failed
Loading