> On Apr 19, 2017, at 3:18 PM, Xiaodi Wu via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> Other common tools like Git already flag trailing whitespace by default, so 
> even if Swift doesn't warn about it, you might still need to satisfy other 
> tools in your pipeline.
> 
> Isn't that an equally good argument for Swift *not* warning you about it? If 
> it's harmful, you'll have other tools in the pipeline to flag it for you.


Cosigned. We already have an Xcode setting to strip trailing whitespace, a Git 
setting to flag it, and linter settings to remove it. (For instance, 
SwiftFormat has a --trimwhitespace flag.) Not every tool needs to handle every 
case of questionable style.

-- 
Brent Royal-Gordon
Architechies

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to