Uh oh!
There was an error while loading. Please reload this page.
Add SwiftFormat configuration and apply formatting - #210
Conversation
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (0.00%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@## main #210 +/- ##
==========================================
- Coverage 29.05% 28.84% -0.22%
==========================================
Files 70 70 Lines 2550 2562 +12 ==========================================
- Hits 741 739 -2 - Misses 1809 1823 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
🤖 Augment PR SummarySummary: This PR introduces a project-wide SwiftFormat setup and reapplies formatting across the Swift codebase. Changes:
Technical Notes: No behavioral changes appear intended; the diff is predominantly formatting and syntactic normalization to reduce future churn. 🤖 Was this summary useful? React with 👍 or 👎 |
c6b011a to
78ef294CompareCodify the project's existing formatting conventions for Swift sources to enable consistent automated formatting.
Add a convenience script to format changed Swift files before committing. Document it in CLAUDE.md development workflow.
78ef294 to
db4370cCompareUh oh!
There was an error while loading. Please reload this page.
Summary
.swiftformatconfiguration file tailored to the project's existing code styleScripts/format-swift.shconvenience script for formatting changed filesCLAUDE.mdwith formatting step in development workflowKey formatting fixes include:
The
.swiftformatconfig preserves project conventions by disabling opinionated rules (extensionAccessControl, docComments, opaqueGenericParameters, redundantReturn, etc.) and excludes vendored directories andPackage.swift.Test plan
swift testpasses locally