Summary
Using Husky, this allows to define pre-commit and pre-push hooks to enforce formatting and tests runs when doing commit and push
All of this can be bypassed using --no-verify when using the associated git command (so we can add them to Github CI if we want to enforce them more seriously)
Only those files are relevant for the review:
- .husky
- package.json
The rest is a preliminary run of dotnet format to align the codebase on the currently defined rules
Notes
- The
dotnet formatcommand on commit is a bit time consuming (roughly 19s on my setup)
Automated Canary build