From 3bc2d95149d3779f8361ecc71d6c79227f31ff9e Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Tue, 16 May 2017 14:04:26 +0300 Subject: [PATCH] Add trim_trailing_whitespace to .editorconfig (cherry picked from commit 3288ce63d36e01b5b53b171102f79531899dc76c) --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) 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