-
Notifications
You must be signed in to change notification settings - Fork 128
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
Import SwiftFormat #117
Import SwiftFormat #117
Conversation
.swiftformat
Outdated
--exclude Tests/LinuxMain.swift,Package.swift | ||
|
||
# format options | ||
--swiftversion 4.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does 4.0 work here? Our Package.swift
specifies 4.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure but I think it will work.
I tried adding matrix to run with Swift 4.0 on Travis🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failed on 4.0 and 4.1.
It seems to be required 4.2 on RequestKit🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a very welcome change 👍
The only comment I have is about the Swift version, which is inconsistent with what's specified in Package.swift
.
@@ -1,4 +1,4 @@ | |||
// swift-tools-version:4.0 | |||
// swift-tools-version:4.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Match to RequestKit
There are some discussions about formatting (e.g. #116 (comment))
I add SwiftFormat via Mint, and draft configuration.