Browse Source

Automatically add final newline & trim whitespace

Jorrit Rouwe 3 years ago
parent
commit
702dc79ed8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .editorconfig

+ 3 - 0
.editorconfig

@@ -3,7 +3,10 @@ root = true
 [*.{cpp,h,inl,cmake}]
 indent_style = tab
 tab_width = 4
+trim_trailing_whitespace = true
+insert_final_newline = true
 
 [CMakeLists.txt]
 indent_style = tab
 tab_width = 4
+trim_trailing_whitespace = true