summary refs log tree commit diff
path: root/.husky
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-05 18:56:39 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-05 18:56:39 +1100
commit1149c12df14f2e23c7973582988d496bd8bab6e2 (patch)
treeef9b12fd9b369c8965ff8ca2c851a51dfa143e64 /.husky
parentDon't send private user data in ready event (diff)
downloadserver-1149c12df14f2e23c7973582988d496bd8bab6e2.tar.xz
Prettier precommit hook
Diffstat (limited to '.husky')
-rw-r--r--.husky/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100644
index 00000000..0da96d6b
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+. "$(dirname -- "$0")/_/husky.sh"
+
+npx pretty-quick --staged