From e160ad1f92e5492c02d416b352f6eb5efc2f52fd Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Tue, 7 Feb 2023 21:51:05 +0100 Subject: [PATCH] Add dotnet format as pre-commit hook --- .githooks/pre-commit | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .githooks/pre-commit diff --git a/.githooks/pre-commit b/.githooks/pre-commit new file mode 100644 index 0000000..31195f5 --- /dev/null +++ b/.githooks/pre-commit @@ -0,0 +1,7 @@ +#!/bin/sh +# +# Use with: +# +# $> git config core.hooksPath .githooks +# +dotnet format FishNotify.sln