-
Notifications
You must be signed in to change notification settings - Fork 581
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
SpaceConsistencyBear: Remove trailing blank lines option #1793
Comments
This would go into SpaceConsistencyBear I think? It does trailing whitespace per line, and enforce_newline_at_EOF , but not trailing blank lines..? |
@jayvdb yes, you are right, it should go into SpaceConsistencyBear 👍 |
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
New option to remove all trailing blanklines Closes coala#1793
@danlls are you still working on this?If not, then I would like to do it. |
I'm not, you can go ahead. Somebody can withdraw me from assignee |
@jayvdb @meetmangukiya I want to ask one thing.Let say in a file, if there are some trailing blanklines at EOF with whitespaces in these lines.So now when running |
Pick the behaviour that is most intuitive and most understandable from user perspective ;) |
No, I want to ask how I can fix this problem that if those lines have already deleted by |
Fix that behaviour and make the bear not emit patches for those lines any more 👍 |
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF. Closes coala#1793
Add allow_trailing_blanklines option for whether to allow trailing blanklines at EOF.And some blanklines are also removed from some files just because of `blanklines_at_EOF` option. Closes coala#1793
I think removing trailing whitespace exists in some bears, but is language dependent. Haven't found a bear that removes trailing blank lines though
The text was updated successfully, but these errors were encountered: