Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikayla Hutchinson <m.j.hutchinson@gmail.com>2018-06-05 19:42:10 +0300
committerMarius Ungureanu <teromario@yahoo.com>2018-06-05 21:09:30 +0300
commitdcf2a60466867739ef07a5841ac27a9e5344f3e9 (patch)
treeecf0b8fae9ba65abaeff71ee18644709be29e979 /.editorconfig
parentb845722ae1c137d161a29b617bff7c303ef77529 (diff)
Remove some editorconfig var suggestions
Stop suggesting use of var in nonapparent cases. Still allow it. Gets rid of huge amounts of annoying suggestions in the editor.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
index efd67fd4bd..c62355d515 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -73,9 +73,9 @@ csharp_new_line_before_members_in_anonymous_types = true
csharp_indent_switch_labels = false
# Prefer "var" everywhere it's apparent
-csharp_style_var_for_built_in_types = true:suggestion
+csharp_style_var_for_built_in_types = true:none
csharp_style_var_when_type_is_apparent = true:suggestion
-csharp_style_var_elsewhere = true:suggestion
+csharp_style_var_elsewhere = true:none
# Prefer method-like constructs to have a block body
csharp_style_expression_bodied_methods = false:none