Skip to content

Commit ea09dff

Browse files
committed
Treat missing .ConfigureAwait(false) as a build error
1 parent de15ce4 commit ea09dff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ trim_trailing_whitespace = true
1313
csharp_space_before_open_square_brackets = true
1414
csharp_space_after_keywords_in_control_flow_statements = true
1515

16+
# CA2007: Do not directly await a Task
17+
dotnet_diagnostic.CA2007.severity = error
18+
1619
[*.{json}]
1720
indent_size = 2
1821
trim_trailing_whitespace = true

0 commit comments

Comments
 (0)