Closed scttcper closed 7 years ago
for some reason it isn't happening anymore after i've restarted my computer.
With the whitespace package enabled its fine with only atom-editorconfig i'm still getting the issue.
Hey @scttcper - thank you for reporting that issue. Am i getting this right? You're saving the file and the no-trailing-spaces messages appear all at once (this is because eslint seems to lint on save) and then disappear line per line, in a frequency of 1 messages per second?
I got it wrong in first place. Only one line is affected by trim trailing whitespace per save.
Hey @scttcper -- nothing more to do. I am able to reproduce that!
@scttcper -- the patch is flying. Please give me a hint if this embarrassing :bug: is 🔨 ed with the quadruple 🎶 of the tabbed 🎼 .
Stay gold, 🦄
Yey... 👏 Thanks again @scttcper
Unfortunately in v2.0.2 I have the same problem...
My editorconfig:
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
end_of_line = LF
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[package.json]
indent_size = 2
I attached two screenshots, one before I hit save, and one after I hit save. Per save just one line gets trimmed. I have disabled the whitespace package from Atom.
Can you reproduce this? Would love to help :)
@zauni -- thank you very much for reporting this! I am able to reproduce it.
Hey @zauni - i recently released a patch, i would appreciate if you could confirm that this solves the issue.
I am really sorry for any inconveniences and very thankful for your support! 🎁
Thank you very much @florianb That was really a speedy response and resolution 👍 Works like a charm now.
Whitespace is being removed one line per save. You can see eslint reacting to the saves. I'm on 1.7.0. The gif has a bunch of extra time at the end that I forgot to trim.
My file looks like this, with a bunch of garbage whitespace.