From 3e38a3a328c5dd1841a16d105a51e8b8af762148 Mon Sep 17 00:00:00 2001 From: Frederik Wessberg Date: Thu, 7 Apr 2022 16:39:03 +0200 Subject: [PATCH] chore: add husky hooks --- .husky/.gitignore | 1 + .husky/pre-commit | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .husky/.gitignore create mode 100644 .husky/pre-commit diff --git a/.husky/.gitignore b/.husky/.gitignore new file mode 100644 index 0000000..31354ec --- /dev/null +++ b/.husky/.gitignore @@ -0,0 +1 @@ +_ diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..3ff8874 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +pnpx pretty-quick --staged \ No newline at end of file