`dotnet-format -w` does not fix whitespace issue IDE2002
jeremysalwen opened this issue · comments
Jeremy Salwen commented
I am using dotnet-format
5.1.250801+4a851ea9707f87d381166c2fc2b2d4b58a10a222
In my .editorconfig
I have:
dotnet_diagnostic.IDE2002.severity = warning
...
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
In VS Code, I get the warning Consecutive braces must not have blank line between them [AdminSuite, AdminSuite]
. However, formatting in VS Code does not fix it, and when I run
> dotnet-format -w
from the command line, it does not fix the issue either. Note that if I run
> dotnet-format -s
It does fix it.
This seems like a bug, since dotnet-format -w
should fix whitespace issues, including this one.