Added async/await warning tweaks to .editorconfig

This commit is contained in:
Justin Swanson 2020-01-25 13:02:40 -06:00
parent 41b1e067a0
commit c77a8b88f0

View File

@ -114,4 +114,11 @@ csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
# Wrapping preferences
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_blocks = true
###############################
# C# Async Rules #
###############################
# CS4014: Task not awaited
dotnet_diagnostic.CS4014.severity = error
# CS1998: Async function does not contain await
dotnet_diagnostic.CS1998.severity = silent