Skip to content

Commit 865b3a3

Browse files
committed
Reduce noice from IDE rules
1 parent f701961 commit 865b3a3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.editorconfig

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,18 @@ csharp_indent_case_contents_when_block = false
6666
csharp_preserve_single_line_statements = false
6767

6868
# 'var' usage preferences
69-
csharp_style_var_for_built_in_types = false:suggestion
70-
csharp_style_var_when_type_is_apparent = true:suggestion
71-
csharp_style_var_elsewhere = false:suggestion
69+
csharp_style_var_for_built_in_types = false:none
70+
csharp_style_var_when_type_is_apparent = true:none
71+
csharp_style_var_elsewhere = false:none
7272

7373
# Parentheses preferences
7474
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:suggestion
7575
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion
7676
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:suggestion
7777

78+
# Expression value is never used
79+
dotnet_diagnostic.IDE0058.severity = none
80+
7881
#### Naming Style ####
7982

8083
dotnet_diagnostic.IDE1006.severity = warning

0 commit comments

Comments
 (0)