Skip to content

Commit f6513bc

Browse files
committed
allow var usage
1 parent c5485a7 commit f6513bc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.editorconfig

+5
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,9 @@ dotnet_style_qualification_for_event = false:warning
3535
csharp_prefer_braces = true:warning
3636
csharp_prefer_simple_using_statement = true:warning
3737

38+
# Allow var
39+
csharp_style_var_for_built_in_types = true
40+
csharp_style_var_when_type_is_apparent = true
41+
csharp_style_var_elsewhere = true
42+
3843
# Custom disabled

omnisharp.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"enableAnalyzersSupport": true
44
},
55
"FormattingOptions": {
6-
"enableEditorConfigSupport": true
6+
"enableEditorConfigSupport": true,
7+
"OrganizeImports": true
78
}
89
}

0 commit comments

Comments
 (0)