editorconfig: remove trailing whitespace in source code (cherry picked from commit 7c67213cefd0404232ef758a1dc33751e717a3f1)
diff --git a/.editorconfig b/.editorconfig
index 636c544..cdd3c4e 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,6 +7,8 @@ root = true
[*.{c,cg,cpp,gradle,h,java,m,metal,pl,py,S,sh,txt}]
indent_size = 4
indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
[*.{html,js,json,m4,yml,yaml,vcxproj,vcxproj.filters}]
indent_size = 2