aboutsummaryrefslogtreecommitdiff
path: root/.husky
diff options
context:
space:
mode:
Diffstat (limited to '.husky')
-rw-r--r--.husky/.gitignore1
-rw-r--r--.husky/pre-commit4
2 files changed, 5 insertions, 0 deletions
diff --git a/.husky/.gitignore b/.husky/.gitignore
new file mode 100644
index 00000000..31354ec1
--- /dev/null
+++ b/.husky/.gitignore
@@ -0,0 +1 @@
+_
diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100644
index 00000000..36af2198
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx lint-staged