C#
Ready101 lint rules
Each bar is measured on real-world code against the default rule set of the reference tool; the tick marks 85%. Ready means the first tool of each column is at least 85%; the others are shown for reference. How C# is measured.
Needs the .NET 10 runtime; every other language works without it.
Parity
Section titled “Parity”Format
Lint
| Task | Compared with | Sudsy speed | Time (Sudsy / tool) | Peak memory (Sudsy / tool) |
|---|---|---|---|---|
| Format | CSharpier | 3.3× faster | 4.36 s / 14.38 s | 572 / 456 MB |
| Format | dotnet format | 5.2× faster | 1.93 s / 10.05 s | 537 / 807 MB |
| Lint | StyleCop | not measured | - | - |
Presets
Section titled “Presets”A preset is an ordinary sudsy.yaml; use one with extends.
csharp/csharpier-compat:extends: [preset:csharp/csharpier-compat]csharp/dotnet-runtime:extends: [preset:csharp/dotnet-runtime]csharp/google:extends: [preset:csharp/google]csharp/roslynator:extends: [preset:csharp/roslynator]csharp/stylecop:extends: [preset:csharp/stylecop]csharp/unity:extends: [preset:csharp/unity]
101 lint rules apply to C#: browse them.