Skip to content

Commit

Permalink
Make discards a suggestion (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed authored Aug 8, 2019
1 parent 713ada3 commit a03e956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ csharp_style_conditional_delegate_call = true:warning
csharp_prefer_braces = true:warning
# Unused value preferences
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-language-conventions#unused-value-preferences
csharp_style_unused_value_expression_statement_preference = discard_variable:warning
csharp_style_unused_value_assignment_preference = discard_variable:warning
csharp_style_unused_value_expression_statement_preference = discard_variable:suggestion
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
# Index and range preferences
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-language-conventions#index-and-range-preferences
csharp_style_prefer_index_operator = true:warning
Expand Down

0 comments on commit a03e956

Please sign in to comment.