C
C#2y ago
Becquerel

❔ Enforcing dotnet format in CI/CD

Does anyone have experience enforcing dotnet format rules in CI/CD? We;re using Azure Devops/TFS specifically. My understanding is that you shouldn't actually format anything in the pipeline, just run --verify-no-changes and use git pre-commit hooks to ensure the code is formatted before it's pushed up. But when I tried to implement this I had unending trouble with the git hooks, since we're on WIndows. Are there any alternatives?
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server