-
Notifications
You must be signed in to change notification settings - Fork 226
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
Add an option for trimmingTrailingWhitespace to ignore whitespace only lines #738
Comments
That's not implemented here, it's implemented in SourceKit and SwiftLint. |
Huh, yes you're right. Sorry for closing then, I'm surprised I hooked it up this way. |
Would really love the option to make |
Going to tackle this. Should the implementation add an additional function parameter:
or should it be the default behavior? |
@jpsim can you let me know if there is any concerns with my implementation so I can fix them and get it merged in. |
I recently tried running SwiftLint with
--fix --format
and saw that it removed thousands of whitespace only lines. It'd be great if the options could mirror the options available in Xcode. Particularly an option to ignore whitespace only lines.The text was updated successfully, but these errors were encountered: