Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using swift-format from Apple #2005

Merged
merged 7 commits into from
Apr 2, 2024
Merged

Switch to using swift-format from Apple #2005

merged 7 commits into from
Apr 2, 2024

Conversation

ReeceHumphreys
Copy link
Contributor

It looks like Swift linting and formatting was done with https://github.com/nicklockwood/SwiftFormat. However, I believe we should have been doing it with https://github.com/apple/swift-format which is the official linter and formatter from Apple.

I am using the default configuration for everything besides AlwaysUseLowerCamelCase which I had to set to false due to lots of our variable names.

@ReeceHumphreys ReeceHumphreys requested a review from externl April 1, 2024 17:20
@ReeceHumphreys ReeceHumphreys requested a review from pepone April 1, 2024 17:29
swift/.swift-format.json Show resolved Hide resolved
.github/workflows/swift.yml Outdated Show resolved Hide resolved
@ReeceHumphreys ReeceHumphreys added swift ci continuous integration labels Apr 2, 2024
Copy link
Member

@externl externl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ReeceHumphreys ReeceHumphreys merged commit 4805aa4 into zeroc-ice:main Apr 2, 2024
21 of 23 checks passed
@ReeceHumphreys ReeceHumphreys deleted the fix-swift-format branch April 2, 2024 14:26
ReeceHumphreys added a commit that referenced this pull request Apr 2, 2024
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
…` from Apple (zeroc-ice/ice#2005)"

This reverts commit 4805aa49cf63eed60c5b410ba6e88d8504e8c4cb.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci continuous integration swift
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants