From c017168c000a09a196a22c6d52d17d4f297965c4 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 25 Apr 2025 18:24:20 +0200 Subject: [PATCH] Add Husky Pre commit handling --- .husky/pre-commit | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 000000000..8592824fa --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,2 @@ +# Check formatting on modified and uncommitted files, stop the commit if issues are found +npm run format:write --uncommitted || exit 1