Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Add formatting step to the build And apply default formatting #1762

Merged
merged 4 commits into from
Apr 7, 2022

Conversation

chkeita
Copy link
Contributor

@chkeita chkeita commented Apr 7, 2022

Check the formatting in the build and apply default formatting to the C# solution using dotnet format
Only formatting is applies No other code changes

@chkeita chkeita changed the title Add formatting step to the build Add formatting step to the build And apply default formatting Apr 7, 2022
@chkeita chkeita marked this pull request as ready for review April 7, 2022 19:02
Copy link
Member

@tevoinea tevoinea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to auto format on local build? Or maybe it already does that?

@chkeita
Copy link
Contributor Author

chkeita commented Apr 7, 2022

@tevoinea i could not find any option to do it on the build. but you can run dotnet format from the command line

@chkeita chkeita enabled auto-merge (squash) April 7, 2022 21:07
@chkeita chkeita merged commit d95d46a into microsoft:main Apr 7, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants