about summary refs log tree commit diff
path: root/.husky
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-03-26 23:17:19 -0400
committerGitHub <noreply@github.com>2023-03-27 05:17:19 +0200
commit34225d7199ee79f252275722b98b988e984a0943 (patch)
tree055866a6021221acf659e8f71c91e815f35e322d /.husky
parent63a6808ee12e2b23353a62e2a37b20fd48e4e429 (diff)
Setup Husky and lint-stage for commit fixing (#23308)
Diffstat (limited to '.husky')
-rwxr-xr-x.husky/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100755
index 000000000..36af21989
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx lint-staged