Add .editorconfig
Rob Mensching committed
Jul 30, 2018 at 01:43 UTC
ab202648a24f8ec753ccd2e73eb1fc58efc23b15
2 files changed
+30
.editorconfig
new
+25
@@ -0,0 +1,25 @@
1
+# Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
+
3
+root = true
4
+
5
+[*]
6
+charset = utf-8
7
+indent_style = space
8
+indent_size = 4
9
+trim_trailing_whitespace = true
10
+
11
+[*.{cs,vb}]
12
+dotnet_sort_system_directives_first = true
13
+
14
+[*.cs]
15
+csharp_indent_case_contents = true : error
16
+csharp_indent_switch_labels = true : error
17
+csharp_new_line_before_open_brace = all
18
+csharp_prefer_braces = true : error
19
+csharp_style_var_elsewhere = true : suggestion
20
+csharp_style_var_for_built_in_types = true : suggestion
21
+csharp_style_var_when_type_is_apparent = true : suggestion
22
+dotnet_style_qualification_for_event = true : error
23
+dotnet_style_qualification_for_field = true : error
24
+dotnet_style_qualification_for_method = true : error
25
+dotnet_style_qualification_for_property = true : error
WixBuildTools.sln
+5
@@ -8,6 +8,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixBuildTools.MsgGen", "src
8
EndProject
9
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixBuildTools.TestSupport", "src\WixBuildTools.TestSupport\WixBuildTools.TestSupport.csproj", "{6C57EF2C-979A-4106-A9E5-FE342810619A}"
10
EndProject
11
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F6660B22-092F-4BC5-A303-E6F696C31E1B}"
12
+ ProjectSection(SolutionItems) = preProject
13
+ .editorconfig = .editorconfig
14
+ EndProjectSection
15
+EndProject
16
Global
17
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18
Debug|Any CPU = Debug|Any CPU