dotnet / dotnet/sdk

A Modern Format/ Linting Solution

Open
#52,287 2 comments 8 reactions 0 assignees View on GitHub
Area-Format untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

The .NET space seems to be lacking a modern set of formatting/ linting tools, in the same way JavaScript/ TypeScript have.

I'd love to see something similar to [Prettier](https://prettier.io/) but for C#. While we have a good solution in [CSharpier](https://csharpier.com/), because it's highly opinnionated and intentionally steers clear configuration for rules aside a key few, it doesn't work for existing solutions and large teams with existing standards unless you're willing to completely adopt CSharpier's rules.

`dotnet format` was a good start, but I'd like to see it go further in that it fully understands things like `.editorconfig` and can integrate with all IDEs and use the same ruleset/ have the same experiece like format on save and can be baked into tooling like git hooks.

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.