diff options
author | Rob Mensching <rob@firegiant.com> | 2018-10-24 14:41:44 -0700 |
---|---|---|
committer | Rob Mensching <rob@robmensching.com> | 2018-10-24 21:17:34 -0700 |
commit | 0a67f66835c882763e1504895cbec3acb9284f3d (patch) | |
tree | a7e0976235d67579aba1051a1a20e17112460979 /.editorconfig | |
parent | 7d302ba01db5b2a9e255cfade17b1c3d687fdee2 (diff) | |
download | wix-0a67f66835c882763e1504895cbec3acb9284f3d.tar.gz wix-0a67f66835c882763e1504895cbec3acb9284f3d.tar.bz2 wix-0a67f66835c882763e1504895cbec3acb9284f3d.zip |
Add .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..2ebba4b3 --- /dev/null +++ b/.editorconfig | |||
@@ -0,0 +1,34 @@ | |||
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_expression_bodied_methods = when_on_single_line : suggestion | ||
20 | csharp_style_expression_bodied_constructors = when_on_single_line : suggestion | ||
21 | csharp_style_expression_bodied_operators = when_on_single_line : suggestion | ||
22 | csharp_style_expression_bodied_properties = when_on_single_line : suggestion | ||
23 | csharp_style_expression_bodied_indexers = when_on_single_line : suggestion | ||
24 | csharp_style_expression_bodied_accessors = when_on_single_line : suggestion | ||
25 | csharp_style_var_elsewhere = true : suggestion | ||
26 | csharp_style_var_for_built_in_types = true : suggestion | ||
27 | csharp_style_var_when_type_is_apparent = true : suggestion | ||
28 | dotnet_style_qualification_for_event = true : error | ||
29 | dotnet_style_qualification_for_field = true : error | ||
30 | dotnet_style_qualification_for_method = true : error | ||
31 | dotnet_style_qualification_for_property = true : error | ||
32 | |||
33 | [*.targets] | ||
34 | indent_size = 2 | ||