From 448cf45a26e068fe5d7164ea48d1dc8bf620df46 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Thu, 20 Oct 2022 16:08:45 -0300 Subject: [PATCH] Add specific skip rules for tests --- .editorconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.editorconfig b/.editorconfig index e9494e8..26a8ca5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -88,5 +88,10 @@ csharp_new_line_before_finally = true csharp_new_line_before_members_in_object_initializers = true csharp_new_line_before_members_in_anonymous_types = true +# Test settings +[**/*Tests*/*{.cs,.vb}] # xUnit1013: Public method should be marked as test. Allows using records as test classes dotnet_diagnostic.xUnit1013.severity = none + +# VSTHRD200: Use "Async" suffix for async methods +dotnet_diagnostic.VSTHRD200.severity = none