Add dotnet format as pre-commit hook

CN
Liza 2023-02-07 21:51:05 +01:00
parent 394825ccae
commit e160ad1f92
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 7 additions and 0 deletions

7
.githooks/pre-commit Normal file
View File

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