You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning ./Program.cs - Was not formatted.
----------------------------- Expected: Around Line 21 -----------------------------
#pragma·warning·restore·CS0618
················{
----------------------------- Actual: Around Line 21 -----------------------------
#pragma·warning·restore·CS0618
················{
····················Message:·"Thisisasuperlonglinethisisasuperlonglinethisisasuperlonglinethisisasuperlonglinethisisasuperlonglinethisisasuperlongline"
Total time: 141ms
Total files: 1
Files that were not formatted: 1
However, it seems like running dotnet csharpier --no-cache ./Program.cs over and over again keeps producing extra newlines. This is the file after running the command five times:
The following file fails the csharpier check:
with the following:
However, it seems like running
dotnet csharpier --no-cache ./Program.cs
over and over again keeps producing extra newlines. This is the file after running the command five times:This seems to indicate that there is no way to make csharpier happy.
A workaround is moving the block inside the #pragma but I would like to avoid that if possible.
This is the .csharpierrc.json:
I'm running csharpier 0.23.0 and dotnet 7.0.201.
Thanks!
The text was updated successfully, but these errors were encountered: