# dotnet format

Enforce .NET editor configuration

Apply the solution's EditorConfig and analyzer severities in verification mode. Give contributors the same SDK version and file scope used in CI.

Category: Formatting
Languages: C#, Visual Basic

## Standard evidence

Rubric v1 · 2/8 verified · 6 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — dotnet format applies formatting preferences to a project or solution using its EditorConfig settings. Reviewed 2026-11-28. [Source](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-format)
- **Measurement** (verified) — In verification mode, files that would change cause a nonzero exit code. The command can check without rewriting the files. Reviewed 2026-11-28. [Source](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-format)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use dotnet format in this repository to meet this standard: Enforce .NET editor configuration. Apply the solution's EditorConfig and analyzer severities in verification mode. Give contributors the same SDK version and file scope used in CI. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
dotnet format --verify-no-changes
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://learn.microsoft.com/dotnet/core/tools/dotnet-format)
- [Agent skill](/skills/dotnet-format/SKILL.md)
