From 96469b19ee3b21ca44bbe1bedb866da09c4a586b Mon Sep 17 00:00:00 2001 From: Benjamin Evenson <2031163+benjiro@users.noreply.github.com> Date: Tue, 19 Sep 2023 16:15:25 +1000 Subject: [PATCH] feat: Add dx to catch ConfigureAwait(false) Signed-off-by: Benjamin Evenson <2031163+benjiro@users.noreply.github.com> --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 19afa364..2682e4d6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -146,6 +146,9 @@ dotnet_diagnostic.IDE0005.severity = none # RS0041: Public members should not use oblivious types dotnet_diagnostic.RS0041.severity = suggestion +# CA2007: Do not directly await a Task +dotnet_diagnostic.CA2007.severity = error + [obj/**.cs] generated_code = true