소스 검색

Automatically add final newline & trim whitespace

Jorrit Rouwe 3 년 전
부모
커밋
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