You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started opening files in the project, and my editor is messing with the code automatically, especially it is triming trailing whitespace and ensuring newline at end of file, also it replaces tabs with spaces.
I suggest you add an .editorconfig file to the project to help with this.
I usually use trim_trailing_whitespace and insert_final_newline to both true, but you might set them to your liking, having the .editorconfig ensure editors of contributing developers will follow your style.
I saw the file you added, good. Just as a side note, ensure you have an .editorconfig plugin enabled in your editor, to be sure your own editor is following it.
I started opening files in the project, and my editor is messing with the code automatically, especially it is triming trailing whitespace and ensuring newline at end of file, also it replaces tabs with spaces.
I suggest you add an
.editorconfig
file to the project to help with this.I usually use
trim_trailing_whitespace
andinsert_final_newline
to bothtrue
, but you might set them to your liking, having the.editorconfig
ensure editors of contributing developers will follow your style.https://editorconfig.org/#supported-properties
The text was updated successfully, but these errors were encountered: