Skip to content

Add formatting guidelines with PR validation #835

Closed
@bart-degreed

Description

@bart-degreed

The goal is to define a coding style for this repository, reformat all existing code in this repository and add style validation that runs during PR build.

Steps:

  • Add configuration for Resharper/Rider formatting engine
  • Add JetBrains free cmdline runners (to use for local development and cibuild)
  • Two-phase verification: run InspectCode to flag rule violations, then run CleanupCode and verify it does not add changes

Note this does not include writing up a document that details exactly how code should be formatted. That is a lot of work and error prone. Instead, we'll let the engine decide and reconfigure it when needed. It usually provides good feedback on what needs to change.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions