Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ dotnet_diagnostic.CS1998.severity = suggestion
# Reason: it could be too verbose to use it everywhere, but this is a good reminder
dotnet_diagnostic.CA1848.severity = none

# CA1873: Evaluation of this argument may be expensive and unnecessary if logging is disabled
# Reason: logging performance is not critical in our context, and this warning is too aggressive
dotnet_diagnostic.CA1873.severity = none

# CA1716: Rename namespace Constants so that it no longer conflicts with the reserved language keyword 'Shared'.
# Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace.
# Reason: we decided to keep it as is for now
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<!-- Code analysis -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>9-all</AnalysisLevel>
<AnalysisLevel>10-all</AnalysisLevel>

<!-- Warnings and errors -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down