dotnet format
E828359
dotnet format is a .NET CLI tool that automatically formats code and enforces style and analyzer rules across .NET projects and solutions.
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
.NET CLI tool
ⓘ
code formatter ⓘ command-line utility ⓘ |
| appliesTo |
.NET projects
ⓘ
.NET solutions ⓘ |
| canFormat |
analyzer violations
ⓘ
code style ⓘ whitespace ⓘ |
| commandName | dotnet format NERFINISHED ⓘ |
| developedBy | Microsoft ⓘ |
| distribution |
NuGet package (historical/standalone)
ⓘ
bundled with newer .NET SDKs ⓘ |
| hostPlatform |
Linux
NERFINISHED
ⓘ
Windows NERFINISHED ⓘ macOS NERFINISHED ⓘ |
| integratesWith |
MSBuild-based .NET projects
ⓘ
Roslyn analyzers NERFINISHED ⓘ |
| license | MIT License ⓘ |
| partOf | .NET SDK NERFINISHED ⓘ |
| primaryFunction |
automatically formats code
ⓘ
enforces analyzer rules ⓘ enforces code style rules ⓘ |
| requires | .NET SDK installed ⓘ |
| runsOn | .NET CLI NERFINISHED ⓘ |
| supportsLanguage |
C#
ⓘ
F# NERFINISHED ⓘ Visual Basic .NET NERFINISHED ⓘ |
| supportsOption |
--diagnostics
ⓘ
--exclude ⓘ --include ⓘ --no-restore ⓘ --report ⓘ --severity ⓘ --verbosity ⓘ --verify-no-changes ⓘ |
| supportsScenario |
CI code formatting checks
ⓘ
enforcing consistent code style across a solution ⓘ local developer formatting ⓘ |
| supportsSubcommand |
dotnet format analyzers
ⓘ
dotnet format document ⓘ dotnet format folder ⓘ dotnet format project ⓘ dotnet format solution ⓘ dotnet format style ⓘ dotnet format whitespace NERFINISHED ⓘ |
| usesConfiguration |
.editorconfig
ⓘ
analyzer configuration files ⓘ ruleset files (legacy) ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.