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
When using the rule csharp_preserve_single_line_statements = false in EditorConfig, the formatter outputs errors related to whitespace when using top-level statmenets.
This error only appears when using --verify-no-changes.
Describe the bug
When using the rule
csharp_preserve_single_line_statements = false
in EditorConfig, the formatter outputs errors related to whitespace when using top-level statmenets.This error only appears when using
--verify-no-changes
.To Reproduce
Test repository: https://github.com/nogeenkopjethee/dotnet-format-test
dotnet format --verify-no-changes
.You will get the following errors:
After removing the rule
csharp_preserve_single_line_statements = false
, these errors will no longer appear.Exceptions (if any)
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: