Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit e409c00

Browse files
committed
Updating 'var' preferences to always prefer var and offer a suggestion if the type is apparent
1 parent dad3db1 commit e409c00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ dotnet_style_prefer_conditional_expression_over_return = true:silent
4242
[*.cs]
4343

4444
# var preferences
45-
csharp_style_var_for_built_in_types = true:none
46-
csharp_style_var_when_type_is_apparent = true:silent
45+
csharp_style_var_for_built_in_types = true:silent
46+
csharp_style_var_when_type_is_apparent = true:suggestion
4747
csharp_style_var_elsewhere = true:silent
4848

4949
# Expression-bodied members

0 commit comments

Comments
 (0)