Skip to content

Commit c779d3d

Browse files
authored
Ignore primary ctor parameter in tests, usually used for testoutput helper
1 parent 1514d15 commit c779d3d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ csharp_new_line_before_members_in_anonymous_types = true
9999
# xUnit1013: Public method should be marked as test. Allows using records as test classes
100100
dotnet_diagnostic.xUnit1013.severity = none
101101

102+
# CS9113: Parameter is unread (usually, ITestOutputHelper)
103+
dotnet_diagnostic.CS9113.severity = none
104+
102105
# Default severity for analyzer diagnostics with category 'Style'
103106
dotnet_analyzer_diagnostic.category-Style.severity = none
104107

0 commit comments

Comments
 (0)