Browse Source

Automatically add final newline & trim whitespace

Jorrit Rouwe 3 năm trước cách đây
mục cha
commit
702dc79ed8
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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