How to deal with trailing spaces on my files

Hi there @orange-knight

Maybe is the editor you are using… I had similar problems but they were because once I saved my file (cntrl+s), it automatically added a space to the end of line and also added a new line on my code.
So I would recommend you to search how to remove the trailing whitespace with your editor, that way you don’t have to bother about that anymore…

For example on atom, there is a package named Whitespace and there is an option to remove them: