C# coding standards tool for Netcode that relies on .editorconfig ruleset and dotnet format tool
Build (Pack)
dotnet pack dotnet-tools/netcode.standardsInstall
dotnet tool install --global --add-source ./dotnet-tools/netcode.standards netcode.standardsCheck
netcode.standards --helpUninstall
dotnet tool uninstall --global netcode.standardsCheck
# check for standards issues without touching files
netcode.standards --checkFix
# try to fix standards issues and save file changes
netcode.standards --fixSpecifying at least one of --check or --fix is required.
However, you can also specify other options to configure the tool.
| Option | Description |
|---|---|
--project <project> |
Target project folder [default: testproject] |
--pattern <pattern> |
Search pattern string [default: *.sln] |
--verbosity <verbosity> |
Logs verbosity level [default: normal] |
-?, -h, --help |
Show help and usage information |