From deafe67f6c051115fb13558842ed2f0db0568d78 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Mon, 18 Sep 2023 10:45:47 +0200 Subject: [PATCH] feat(tool): Add pre-commit hook to check formatting Signed-off-by: jld3103 --- .husky/pre-commit | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000..4c9952ca --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +melos run format-check