Repository navigation
Align tooling config and CI with established project standards - #44
Merged
Merged
Conversation
Cross-repo audit against CDMarkdownKit/CDYelpFusionKit/CDOAuth1Kit/CDYahooKit punch list for CDUntappdKit: - .swiftformat: bumped --swiftversion 5.9 → 6.0 to match Package.swift's swiftLanguageModes: [.v6]. Verified no new rules activate at this version for this codebase (unlike CDMarkdownKit/CDYelpFusionKit, where the same bump surfaced real issues) — swiftformat --lint stays clean with 0/119 files needing changes. - CI: added an Example job (this repo wasn't building "iOS Example" in CI, unlike CDYahooKit). - iOS Example.xcscheme: bumped the stale LastUpgradeVersion (1340, i.e. Xcode 13.4) to 2640, matching this repo's own main framework scheme — it had drifted years behind because the Example project apparently hasn't been opened in Xcode directly in a long time even though CI builds it via xcodebuild. Scheme content itself needed no other changes. .gitignore already had docs/superpowers/ and .superpowers/ — no change needed there; the original audit note was inaccurate for this repo. Verified: swift build, swiftlint --strict (0 violations, 72 files), swiftformat --lint (0/119 files), and the ci.yml/scheme XML both parse. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KbCr6TJJi2oFs254tFU4HV
…eline Aligns file_length, function_body_length, type_body_length, and line_length with the shared cross-repo baseline (400/1000, 40/100, 200/350, 149/200). Fixed all violations by splitting CDUntappdAPIClient into endpoint-grouped extensions, splitting CDUntappdURLSession's retry and cancellation logic into a same-purpose extension, and factoring CDUntappdVenue's initializer into per-section decode helpers, rather than raising thresholds or adding disables.
Documents the tooling-alignment and SwiftLint threshold-tightening work already on this branch under Unreleased, following this project's existing convention of logging tooling/CI changes alongside functional ones.
Describes the tooling/threshold work on its own terms instead of naming the other framework repos it was aligned with.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #45
Summary
.swiftformat: bumped--swiftversion5.9 → 6.0 to matchPackage.swift'sswiftLanguageModes: [.v6]. Checked first whether this would surface newly-activated rules the way it has elsewhere — it doesn't here;swiftformat --lintstays clean with 0/119 files needing changes..github/workflows/ci.yml: added anExamplejob — this repo wasn't buildingiOS Examplein CI.iOS Example.xcscheme: bumped the staleLastUpgradeVersion(1340, i.e. Xcode 13.4) to2640, matching this repo's own main framework scheme. It had drifted years behind — the Example project apparently hasn't been opened directly in Xcode in a long time even though CI builds it viaxcodebuild. No other scheme content needed changing..gitignorealready haddocs/superpowers/and.superpowers/— no change needed there.file_length,function_body_length, andtype_body_lengthSwiftLint limits tightened to a consistent baseline; every violation was fixed by restructuring — splittingCDUntappdAPIClientinto per-endpoint-group extensions, splittingCDUntappdURLSession's retry/cancellation logic into its own file, and factoringCDUntappdVenue's initializer into named decode helpers — rather than raising limits or disabling rules.Test plan
swift buildsucceedsswiftformat Source Tests --lintpasses with 0/119 files requiring formattingswiftlint lint --strictpasses with 0 violations (72 files).github/workflows/ci.ymlvalidated as parseable YAML;iOS Example.xcschemevalidated as parseable XML🤖 Generated with Claude Code
https://claude.ai/code/session_01KbCr6TJJi2oFs254tFU4HV