diff options
author | Mike Krüger <mikkrg@microsoft.com> | 2018-03-20 11:12:05 +0300 |
---|---|---|
committer | Mike Krüger <mikkrg@microsoft.com> | 2018-03-20 11:12:05 +0300 |
commit | c243564e56912f3c6d749661411caac1589391a0 (patch) | |
tree | a63f75a7772e4a1af20570c6b88574c6b885b186 /.editorconfig | |
parent | 757fa415ab9fb6924491435401c27c5947db503f (diff) |
Fixed some editorconfig settings.
They were not in line with our styles and forced wrong formatting. Added .editorconfig to the solution.
It's a hidden file and this makes it easier to find & edit that.
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.editorconfig b/.editorconfig index df5b803581..7eca4c796d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -58,9 +58,9 @@ csharp_space_after_keywords_in_control_flow_statements = true # Newline settings
csharp_new_line_before_open_brace = types,methods
-csharp_new_line_before_else = true
-csharp_new_line_before_catch = true
-csharp_new_line_before_finally = true
+csharp_new_line_before_else = false
+csharp_new_line_before_catch = false
+csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
@@ -70,7 +70,7 @@ csharp_indent_switch_labels = false # Prefer "var" everywhere it's apparent
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
-csharp_style_var_elsewhere = false:suggestion
+csharp_style_var_elsewhere = true:suggestion
# Prefer method-like constructs to have a block body
csharp_style_expression_bodied_methods = false:none
|