Add dotnet format as pre-commit hook

This commit is contained in:
Liza 2023-02-07 21:49:53 +01:00
parent 8911ef5227
commit e13cf9409c
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 12 additions and 5 deletions

7
.githooks/pre-commit Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
#
# Use with:
#
# $> git config core.hooksPath .githooks
#
dotnet format SliceIsRight.sln