From 98ae57d504bdda7a6f0fbc27364be2efa0a19e07 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Fri, 8 Apr 2016 15:59:49 +0200 Subject: [PATCH] Add editor configuration with whitespace preferences: --- .editorconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..f57e1600 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,30 @@ +root = true + +[*] +indent_style = space +indent_size = 4 + +# C++ files +[*.{cpp,h}] +indent_style = space +indent_size = 4 + +# C# files +[*.{cs}] +indent_style = space +indent_size = 4 + +# MSBuild projects +[*.{proj,targets,props,filters}] +indent_style = space +indent_size = 2 + +# Batch scripts +[*.{bat,cmd}] +indent_style = space +indent_size = 4 + +# NuGet files +[nuget.config] +indent_style = space +indent_size = 2