summaryrefslogtreecommitdiffhomepage
path: root/frontend/.husky/pre-commit
diff options
context:
space:
mode:
authorLASER-Yi <[email protected]>2021-08-30 01:16:47 +0800
committerLASER-Yi <[email protected]>2021-08-30 09:13:41 +0800
commit86d37be9aa221b530595613279f576c064313741 (patch)
tree5b47d267fac2c9bd0ca3864b9ac841db9c0fa3de /frontend/.husky/pre-commit
parentda21e5dad0ce0631a9c02768f9ef9be535586fb4 (diff)
downloadbazarr-86d37be9aa221b530595613279f576c064313741.tar.gz
bazarr-86d37be9aa221b530595613279f576c064313741.zip
no log: Clean up package.json
Diffstat (limited to 'frontend/.husky/pre-commit')
-rwxr-xr-xfrontend/.husky/pre-commit5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/.husky/pre-commit b/frontend/.husky/pre-commit
new file mode 100755
index 000000000..c306ede8a
--- /dev/null
+++ b/frontend/.husky/pre-commit
@@ -0,0 +1,5 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+cd frontend || exit
+npx pretty-quick --staged