From 5b72d6f5ca84cf398dac3e7a8e6f7afb17bda462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Varandas?= Date: Tue, 14 Nov 2023 15:44:34 +0000 Subject: [PATCH] build(husky): adds husky pre-commit hook --- .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 0000000..d24fdfc --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npx lint-staged