aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
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 /.editorconfig
parenta65364feb98858382a892141ef4cb738890e94f3 (diff)
downloadwix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.tar.gz
wix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.tar.bz2
wix-ab202648a24f8ec753ccd2e73eb1fc58efc23b15.zip
Add .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig25
1 files changed, 25 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