Skip to content

Conversation

@MaxDesiatov
Copy link
Contributor

Motivation:

UserToolchain.swift was formatted by swift-format with a config that's inconsistent with .swiftformat committed in the repository, primarily in its use of 2-space indentation.

Modifications:

Reverted the commit that applies swift-format. Also updated .swiftformat with more tweaks that codify conventions already established in our repository. Applied new rules to UserToolchain.swift

Result:

Automated formatting in UserToolchain.swift is applied.

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test macOS

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test Windows

@MaxDesiatov
Copy link
Contributor Author

Windows failure in llbuild looks unrelated to me.

@MaxDesiatov MaxDesiatov merged commit a09400d into main Feb 6, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/revert-swift-format branch February 6, 2023 20:34
tomerd pushed a commit to tomerd/swift-package-manager that referenced this pull request Feb 7, 2023
`UserToolchain.swift` was formatted by `swift-format` with a config that's inconsistent with `.swiftformat` committed in the repository, primarily in its use of 2-space indentation.

Reverted the commit that applies `swift-format`. Also updated `.swiftformat` with more tweaks that codify conventions already established in our repository. Applied new rules to `UserToolchain.swift`
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.

3 participants