dotnet / dotnet/format

dotnet format whitespace is not working in case of "File Scoped Namespace"

Open
#1,724 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.9k
Forks
173
Avg merge
10d 13h
Merged PRs (30d)
1

Description

Command
```dotnet format whitespace ./.. --folder ```

Example

This works (contains whitespaces in line 3)

```
namespace Test
{

}
```

This is not working, the whole file is not processed (contains whitespaces at the end of line 1)
```
namespace Test;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.