Skip to content

Configure code formatting check in CI #2

@adamreeve

Description

@adamreeve

After the initial code import it would be good to run dotnet format on the whole codebase and then set up a CI job to run dotnet format --verify-no-changes on PRs.

There are already formatting rules configured in .editorconfig but they aren't enforced in CI so there are a lot of formatting inconsistencies. This will help simplify code reviews so reviewers don't need to suggest formatting changes, and users should be able to easily ensure their code meets the requirements by running dotnet format themselves, or configure their editor to respect .editorconfig.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions