Thank you for considering contributing!
- Fork the repository and create a feature branch from
main. - Run
dotnet tool restoreto install local tools (CSharpier). - Ensure your code passes all checks:
dotnet build -c Release dotnet test dotnet csharpier check . dotnet format style --verify-no-changes dotnet format analyzers --verify-no-changes
- Open a Pull Request against
mainwith a clear description of the change.
This project enforces formatting via CSharpier (opinionated C# formatter) and dotnet format (code style analyzers). CI will reject PRs with formatting violations.
- Auto-format before committing:
dotnet csharpier format .first (fixes whitespace/brace style), thendotnet format style && dotnet format analyzers(fixes naming/usings). Order matters: always run CSharpier first. Never run baredotnet format— thewhitespacesub-check overwrites CSharpier's Allman-style brace formatting. - IDE integration: Install the CSharpier extension for VS Code, Visual Studio, or Rider for format-on-save.
Use GitHub Issues for bugs and feature requests.