Closed kamataryo closed 7 years ago
Was the extra whitespace was being added by your editor, rather than it being removed?
No, my text editor was trying to remove extra whitespaces.
the .editorconfig
is a configuration file for EditorConfig. It defines and maintains consistent coding styles between different editors and IDEs. In this case, I add a configuration not to trim extra trailing whitespace. It prevents unnecessary whitespace trimming contamination.
We don’t care about tiny whitespace remaining problem, so that It's better for EditorConfig to decide where to put whitespace, for consistency and time saving.
Ahh yes! I see. Many thanks. I was looking at the revert commit, rather than the initial one, sorry!
This makes easier to make commit , Thanks a lot!
Keep consistency about trailing whitespace triming. This may be helpful for the case of https://github.com/timwaters/mapwarper/pull/120#issuecomment-296447875 and save communication costs.
How about this?