From 6fde6659956c462ecc384ffd9385535101dddc7c Mon Sep 17 00:00:00 2001 From: Aswin Mohan Date: Mon, 17 Apr 2017 04:29:59 +0530 Subject: [PATCH] Add .editorConfig for consistency (#104) Refrence Issue https://github.com/exercism/xcpp/issues/92 --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..849eac317 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ + +#Editor Config is So awesome + +#Indicate this is the config of the root +root = true + +# Apply the following rules to these file types +[{*.{cpp,cc,c,h,hpp,txt}}] +end_of_line = lf #Unix type line endings +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +#Separate Config for YML files +[*.yml] +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true