There finally is; Csharpier!
It was originally ported from the popular Prettier and it is just a code formatter for C#. It can run from the command line and is not tied to an IDE nor an extension, although support for these exists as well. You can make it run as a part of a git-hook to for example automatically format changed files on git commit.
Some benefits of choosing Csharpier over other formatting tools are:
- It breaks long lines, unlike most formatters (such as dotnet-format)
- It doesn’t preserve the original formatting. This benefit is perhaps best explained by reading the section Building and enforcing a style guide on the Prettier web page.