# `dotnet-format` | | | | -------- | ---------------------------------------------------------------------------- | | Project | [dotnet-format](https://learn.microsoft.com/dotnet/core/tools/dotnet-format) | | Fix | yes | | Binary | `dotnet` | | Scope | [files](../linters.md#scope-files) | | Patterns | `*.cs` | `dotnet-format` checks and formats C# code. For a normal changed-files run, Flint passes the eligible tracked paths to `dotnet format --include`. The paths are relative to the project root, as required by the .NET CLI. A full run still passes the complete Flint-selected C# file list: ```bash flint run --full dotnet-format flint run --full --fix dotnet-format ```