Skip to content

Linting

Jay Malhotra edited this page Nov 1, 2023 · 1 revision

The codebase is linted by CSharpier which enforces a consistent formatting style. This is enforced via a CI pipeline which will fail if your code is formatted differently to how CSharpier would format it.

To run CSharpier manually, you can run the following commands in a terminal window from the repository's root directory:

$ dotnet tool restore
$ dotnet csharpier .

Most editors have an extension that can be configured automatically run CSharpier on saving a file:

Clone this wiki locally