Skip to content

chore: resolve SwiftFormat errors and warnings at the categories modu… #913

chore: resolve SwiftFormat errors and warnings at the categories modu…

chore: resolve SwiftFormat errors and warnings at the categories modu… #913

Triggered via push September 10, 2024 21:38
Status Cancelled
Total duration 29s
Artifacts

swiftlint.yml

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

Annotations

2 errors and 10 warnings
run-swiftlint
Canceling since a higher priority waiting request for 'SwiftLint-refs/heads/chore/resolve_swiftformat' exists
run-swiftlint
The operation was canceled.
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/DataStore/DataStoreError.swift#L66
TODOs should be resolved (Is this the right command to r...) (todo)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryPredicate.swift#L80
`where` clauses are preferred over a single `if` inside a `for` (for_where)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryPredicate.swift#L87
`where` clauses are preferred over a single `if` inside a `for` (for_where)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryOperator.swift#L22
Function should have complexity 10 or less; currently complexity is 13 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryOperator.swift#L62
Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Model/Internal/Schema/ModelSchema+Definition.swift#L68
Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Model/Internal/Schema/Model+Schema.swift#L17
TODOs should be resolved (load schema from JSON when thi...) (todo)
run-swiftlint: Amplify/Categories/DataStore/Model/Internal/Schema/ModelField+Association.swift#L267
TODOs should be resolved (handle modelName casing (conve...) (todo)
run-swiftlint: Amplify/Categories/DataStore/Model/Internal/Persistable.swift#L74
Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)