add dotnet-format as pre-commit hook
This commit is contained in:
parent
e6c56e5bce
commit
3c6822aa64
7
.githooks/pre-commit
Executable file
7
.githooks/pre-commit
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Use with:
|
||||
#
|
||||
# $> git config core.hooksPath .githooks
|
||||
#
|
||||
dotnet format --exclude vendor/
|
Loading…
Reference in New Issue
Block a user