Skip to content

Adopt swift-format, enforce lint in CI - #40

Merged
germ-mark merged 3 commits into
mainfrom
llm/swift-format-lint
Aug 19, 2026
Merged

Adopt swift-format, enforce lint in CI#40
germ-mark merged 3 commits into
mainfrom
llm/swift-format-lint

Conversation

@germ-mark

Copy link
Copy Markdown
Contributor

Runs swift-format across the tree (config already present but unenforced, or newly added where missing), fixes any real strict-lint failures, adds a CI job running swift format lint --strict, and adds .git-blame-ignore-revs for the reformat commit.

Part of an org-wide sweep bringing consistent swift-format lint to Germ's standalone Swift packages.

germ-mark and others added 3 commits August 19, 2026 00:18
.swift-format already carried {"indentation": {"tabs": 1}} but nothing
ran it. Reformatted the tree (swift format format -i --recursive) -
Sources was already conformant, only three test files had stray
import ordering and trailing whitespace. Strict lint passes clean
with no manual fixes needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Keeps git blame (and GitHub's blame view) attributing lines to their
original author instead of the mass-reformat commit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds a lint job to the Linux workflow running swift format lint
--strict against Sources and Tests, so the formatting adopted in
963381c stays enforced instead of drifting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a596d80

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@germ-mark
germ-mark merged commit 507ce31 into main Aug 19, 2026
12 checks passed
@germ-mark
germ-mark deleted the llm/swift-format-lint branch August 19, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant