Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ dotnet_diagnostic.VSTHRD107.severity = none # Allow Task in using without
dotnet_diagnostic.VSTHRD114.severity = none # Allow returning null from Task methods in tests
dotnet_diagnostic.VSTHRD200.severity = none # Async suffix not required in test method names

# Banned API Analyzer - Just warn in tests (allow for testing purposes)
dotnet_diagnostic.RS0030.severity = warning # Using banned API - warn instead of error in tests
# Banned API Analyzer - Allow in tests (sync I/O and Stream overrides are common in test setup)
dotnet_diagnostic.RS0030.severity = none # Allow banned APIs in tests
Comment thread
Chris-Wolfgang marked this conversation as resolved.
Comment thread
Chris-Wolfgang marked this conversation as resolved.

# Meziantou - Relax in tests
dotnet_diagnostic.MA0004.severity = none # ConfigureAwait not needed in tests
Expand Down Expand Up @@ -422,8 +422,8 @@ dotnet_diagnostic.MA0004.severity = none # Meziantou: Use ConfigureAwai
dotnet_diagnostic.S3216.severity = none # SonarAnalyzer: ConfigureAwait
dotnet_diagnostic.CA2007.severity = none # .NET Analyzer: Use ConfigureAwait

# Banned API Analyzer - Just warn in benchmarks (allow for benchmarking purposes)
dotnet_diagnostic.RS0030.severity = warning # Using banned API - warn instead of error in benchmarks
# Banned API Analyzer - Allow in benchmarks (sync APIs are often the benchmark target)
dotnet_diagnostic.RS0030.severity = none # Allow banned APIs in benchmarks

# No documentation required for benchmarks
dotnet_diagnostic.SA1600.severity = none
Expand Down
Loading