diff options
author | Rob Mensching <rob@firegiant.com> | 2018-07-30 01:43:46 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-07-30 01:43:46 -0700 |
commit | ab202648a24f8ec753ccd2e73eb1fc58efc23b15 (patch) | |
tree | d330a3e90391e58e88564156e9f367e8b2592afe | |
parent | a65364feb98858382a892141ef4cb738890e94f3 (diff) | |
download | wix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.tar.gz wix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.tar.bz2 wix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.zip |
Add .editorconfig
-rw-r--r-- | .editorconfig | 25 | ||||
-rw-r--r-- | WixBuildTools.sln | 5 |
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 | |||
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 | ||
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 | |||
8 | EndProject | 8 | EndProject |
9 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixBuildTools.TestSupport", "src\WixBuildTools.TestSupport\WixBuildTools.TestSupport.csproj", "{6C57EF2C-979A-4106-A9E5-FE342810619A}" | 9 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixBuildTools.TestSupport", "src\WixBuildTools.TestSupport\WixBuildTools.TestSupport.csproj", "{6C57EF2C-979A-4106-A9E5-FE342810619A}" |
10 | EndProject | 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 | ||
11 | Global | 16 | Global |
12 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | 17 | GlobalSection(SolutionConfigurationPlatforms) = preSolution |
13 | Debug|Any CPU = Debug|Any CPU | 18 | Debug|Any CPU = Debug|Any CPU |