diff --git a/.editorconfig b/.editorconfig index 4bef1b18f9..8144f1f948 100644 --- a/.editorconfig +++ b/.editorconfig @@ -116,6 +116,9 @@ dotnet_diagnostic.IDE0040.severity = warning # Don't prefer braces (for one liners). dotnet_diagnostic.IDE0011.severity = none +# Avoid unnecessary zero-length array allocations. +dotnet_diagnostic.CA1825.severity = warning + ; 4-column tab indentation [*.yaml] indent_style = tab