瀏覽代碼

Merge pull request #8784 from bojidar-bg/editorconfig-trim-whitespace

Add trim_trailing_whitespace to .editorconfig

[ci skip]
Rémi Verschelde 8 年之前
父節點
當前提交
ce2077262a
共有 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