Skip to content

Commit

Permalink
Add specific skip rules for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu authored Oct 20, 2022
1 parent 6d3dd85 commit 448cf45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 448cf45

Please sign in to comment.