aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-07-30 01:43:46 -0700
committerRob Mensching <rob@firegiant.com>2018-07-30 01:43:46 -0700
commitab202648a24f8ec753ccd2e73eb1fc58efc23b15 (patch)
treed330a3e90391e58e88564156e9f367e8b2592afe
parenta65364feb98858382a892141ef4cb738890e94f3 (diff)
downloadwix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.tar.gz
wix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.tar.bz2
wix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.zip
Add .editorconfig
-rw-r--r--.editorconfig25
-rw-r--r--WixBuildTools.sln5
2 files changed, 30 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..c989c957
--- /dev/null
+++ b/.editorconfig
@@ -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
3root = true
4
5[*]
6charset = utf-8
7indent_style = space
8indent_size = 4
9trim_trailing_whitespace = true
10
11[*.{cs,vb}]
12dotnet_sort_system_directives_first = true
13
14[*.cs]
15csharp_indent_case_contents = true : error
16csharp_indent_switch_labels = true : error
17csharp_new_line_before_open_brace = all
18csharp_prefer_braces = true : error
19csharp_style_var_elsewhere = true : suggestion
20csharp_style_var_for_built_in_types = true : suggestion
21csharp_style_var_when_type_is_apparent = true : suggestion
22dotnet_style_qualification_for_event = true : error
23dotnet_style_qualification_for_field = true : error
24dotnet_style_qualification_for_method = true : error
25dotnet_style_qualification_for_property = true : error
diff --git a/WixBuildTools.sln b/WixBuildTools.sln
index b46c4ed1..37cb79ff 100644
--- a/WixBuildTools.sln
+++ b/WixBuildTools.sln
@@ -8,6 +8,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixBuildTools.MsgGen", "src
8EndProject 8EndProject
9Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixBuildTools.TestSupport", "src\WixBuildTools.TestSupport\WixBuildTools.TestSupport.csproj", "{6C57EF2C-979A-4106-A9E5-FE342810619A}" 9Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixBuildTools.TestSupport", "src\WixBuildTools.TestSupport\WixBuildTools.TestSupport.csproj", "{6C57EF2C-979A-4106-A9E5-FE342810619A}"
10EndProject 10EndProject
11Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F6660B22-092F-4BC5-A303-E6F696C31E1B}"
12 ProjectSection(SolutionItems) = preProject
13 .editorconfig = .editorconfig
14 EndProjectSection
15EndProject
11Global 16Global
12 GlobalSection(SolutionConfigurationPlatforms) = preSolution 17 GlobalSection(SolutionConfigurationPlatforms) = preSolution
13 Debug|Any CPU = Debug|Any CPU 18 Debug|Any CPU = Debug|Any CPU