Просмотр исходного кода

Automatically add final newline & trim whitespace

Jorrit Rouwe 3 лет назад
Родитель
Сommit
702dc79ed8
1 измененных файлов с 3 добавлено и 0 удалено
  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