Add git pre-commit hooks for applying formatting to source #27632
Labels
affected-medium
This issue impacts approximately half of our customers
area-infrastructure
Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
severity-nice-to-have
This label is used by an internal tool
Milestone
Our repos formatting currently defaults to the formatting applied by default in VS. This can be cumbersome for users who are working in non-VS editors with the repo or users who disable format on save in their IDE.
We should consider adding a git pre-commit hook that runs
dotnet format
on modified source files in a particular change set.The text was updated successfully, but these errors were encountered: