about summary refs log tree commit diff
path: root/.husky
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-07-13 15:35:05 -0700
committerEric Bailey <git@esb.lol>2023-07-13 15:35:56 -0700
commitc83573bf972a60b6606645ec9cca3a7c41212189 (patch)
treea150011381bcd21c4de5aeb43d95ad17f9e53525 /.husky
parent3bd891b01aecdd8f2c7d5d833d735cb5ba6f5cba (diff)
downloadvoidsky-c83573bf972a60b6606645ec9cca3a7c41212189.tar.zst
set up lint-staged via husky
(cherry picked from commit 98151fafbd9b248fce62f013cecd3d20d4d17006)
Diffstat (limited to '.husky')
-rwxr-xr-x.husky/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100755
index 000000000..5a182ef10
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+. "$(dirname -- "$0")/_/husky.sh"
+
+yarn lint-staged