aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-10-24 14:41:44 -0700
committerRob Mensching <rob@robmensching.com>2018-10-24 21:17:34 -0700
commit0a67f66835c882763e1504895cbec3acb9284f3d (patch)
treea7e0976235d67579aba1051a1a20e17112460979 /.editorconfig
parent7d302ba01db5b2a9e255cfade17b1c3d687fdee2 (diff)
downloadwix-0a67f66835c882763e1504895cbec3acb9284f3d.tar.gz
wix-0a67f66835c882763e1504895cbec3acb9284f3d.tar.bz2
wix-0a67f66835c882763e1504895cbec3acb9284f3d.zip
Add .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig34
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
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_expression_bodied_methods = when_on_single_line : suggestion
20csharp_style_expression_bodied_constructors = when_on_single_line : suggestion
21csharp_style_expression_bodied_operators = when_on_single_line : suggestion
22csharp_style_expression_bodied_properties = when_on_single_line : suggestion
23csharp_style_expression_bodied_indexers = when_on_single_line : suggestion
24csharp_style_expression_bodied_accessors = when_on_single_line : suggestion
25csharp_style_var_elsewhere = true : suggestion
26csharp_style_var_for_built_in_types = true : suggestion
27csharp_style_var_when_type_is_apparent = true : suggestion
28dotnet_style_qualification_for_event = true : error
29dotnet_style_qualification_for_field = true : error
30dotnet_style_qualification_for_method = true : error
31dotnet_style_qualification_for_property = true : error
32
33[*.targets]
34indent_size = 2