summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorBojidar Marinov <bojidar.marinov.bg@gmail.com>2017-05-16 14:04:26 +0300
committerBojidar Marinov <bojidar.marinov.bg@gmail.com>2017-05-16 14:04:26 +0300
commit3288ce63d36e01b5b53b171102f79531899dc76c (patch)
tree831650c309e15e5cfd09f2000717f5e068a2c120 /.editorconfig
parenta4560c1e97d92cab3b370115581d8ee8f5c0b767 (diff)
Add trim_trailing_whitespace to .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index e19057f0e8..b7ef43c340 100644
--- a/.editorconfig
+++ b/.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