diff --git a/.editorconfig b/.editorconfig index fb73dae34..ed21fb1ad 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