aboutsummaryrefslogtreecommitdiffstats
path: root/.husky
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-03-15 00:26:33 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-03-15 00:26:33 +0000
commit7139425e4fff006138e6aba94089f2782659ce94 (patch)
treeca8db40803adf81691a4d2c32d3ab45c46c53667 /.husky
parentc9aefa81ca1950121d2357fc66afe15eb400f537 (diff)
Add lint-staged
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 0000000..36af219
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx lint-staged