aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-12-23 09:02:53 -0800
committerRob Mensching <rob@firegiant.com>2018-12-23 09:02:53 -0800
commit8f70bee13a22cc8b8b1a76825c5051100c9bdd2f (patch)
tree87a11d129c96608e8e888a110af5b6d83a00ff1c /.editorconfig
parent95a5a8f9efef02ddcec5b3f69be99a00d71a802a (diff)
downloadwix-8f70bee13a22cc8b8b1a76825c5051100c9bdd2f.tar.gz
wix-8f70bee13a22cc8b8b1a76825c5051100c9bdd2f.tar.bz2
wix-8f70bee13a22cc8b8b1a76825c5051100c9bdd2f.zip
Update to latest Home\repo-template
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig37
1 files changed, 37 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..1d72e683
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,37 @@
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# Do NOT modify this file. Update the canonical version in Home\repo-template\src\.editorconfig
4# then update all of the repos.
5
6root = true
7
8[*]
9charset = utf-8
10indent_style = space
11indent_size = 4
12trim_trailing_whitespace = true
13
14[*.{cs,vb}]
15dotnet_sort_system_directives_first = true
16
17[*.cs]
18csharp_indent_case_contents = true : error
19csharp_indent_switch_labels = true : error
20csharp_new_line_before_open_brace = all
21csharp_prefer_braces = true : error
22csharp_style_expression_bodied_methods = when_on_single_line : suggestion
23csharp_style_expression_bodied_constructors = when_on_single_line : suggestion
24csharp_style_expression_bodied_operators = when_on_single_line : suggestion
25csharp_style_expression_bodied_properties = when_on_single_line : suggestion
26csharp_style_expression_bodied_indexers = when_on_single_line : suggestion
27csharp_style_expression_bodied_accessors = when_on_single_line : suggestion
28csharp_style_var_elsewhere = true : suggestion
29csharp_style_var_for_built_in_types = true : suggestion
30csharp_style_var_when_type_is_apparent = true : suggestion
31dotnet_style_qualification_for_event = true : error
32dotnet_style_qualification_for_field = true : error
33dotnet_style_qualification_for_method = true : error
34dotnet_style_qualification_for_property = true : error
35
36[*.targets]
37indent_size = 2