浏览代码

Add trim_trailing_whitespace to .editorconfig

(cherry picked from commit 3288ce63d36e01b5b53b171102f79531899dc76c)
Bojidar Marinov 8 年之前
父节点
当前提交
3bc2d95149
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .editorconfig

+ 3 - 0
.editorconfig

@@ -5,6 +5,9 @@ charset = utf-8
 end_of_line = lf
 indent_style = tab
 
+[*.{cpp,hpp,c,h,mm}]
+trim_trailing_whitespace = true
+
 [.travis.yml]
 indent_style = space
 indent_size = 2