Browse Source

feat: Enable Rule CA1820

pull/9188/head
Giuseppe Lippolis 4 years ago
parent
commit
94afe971d9
  1. 2
      .editorconfig

2
.editorconfig

@ -141,6 +141,8 @@ dotnet_analyzer_diagnostic.category-Performance.severity = none #error - Uncomme
dotnet_diagnostic.CA1802.severity = warning
# CA1825: Avoid zero-length array allocations
dotnet_diagnostic.CA1825.severity = warning
# CA1820: Test for empty strings using string length
dotnet_diagnostic.CA1820.severity = warning
# Wrapping preferences
csharp_wrap_before_ternary_opsigns = false

Loading…
Cancel
Save