From 0a25a8f355451a4cfb08244f4fa2153d604aac87 Mon Sep 17 00:00:00 2001 From: Compey Date: Tue, 22 Nov 2022 17:44:38 +0530 Subject: [PATCH] chore(tooling): husky commit hooks --- .husky/pre-commit | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..1a22c44 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +pnpm lint && pnpm format \ No newline at end of file