-
Notifications
You must be signed in to change notification settings - Fork 12k
Description
At the moment, there is a new line at the end of each source file. However, the .editorconfig
file specifies that there should be no new lines at the end of files:
Line 10 in 9140ef7
insert_final_newline = false |
Editors that respect this file will remove any final linebreak upon saving a file. For example, that is the case when using Atom. Due to this behaviour, the linter will stumble over any such file without a new line:
error Newline required at end of file but not found eol-last
This is only a minor issue but can get annoying really quickly. We should decide whether files should have a new line at the end, and then adjust either the linter rules or the editor configuration file accordingly.
Given that all existing files do have a final linebreak, I assume that the .editorconfig
file is what we should update. Is that correct?