summaryrefslogtreecommitdiff
path: root/frontend/.husky/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/.husky/pre-commit')
-rwxr-xr-xfrontend/.husky/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/.husky/pre-commit b/frontend/.husky/pre-commit
new file mode 100755
index 00000000..84796e1d
--- /dev/null
+++ b/frontend/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+. "$(dirname -- "$0")/_/husky.sh"
+
+cd frontend && npm run lint