diff options
author | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2018-06-05 19:42:10 +0300 |
---|---|---|
committer | Marius Ungureanu <teromario@yahoo.com> | 2018-06-05 21:09:30 +0300 |
commit | dcf2a60466867739ef07a5841ac27a9e5344f3e9 (patch) | |
tree | ecf0b8fae9ba65abaeff71ee18644709be29e979 /.editorconfig | |
parent | b845722ae1c137d161a29b617bff7c303ef77529 (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-- | .editorconfig | 4 |
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
|