aboutsummaryrefslogtreecommitdiffstats
path: root/.husky/pre-commit
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-05-16 12:57:50 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-16 12:58:45 +0530
commit47b30902244e9d9de969050aed6526f14f73694d (patch)
treee9b7ea9a158189338619a13e7fea601a26c1347e /.husky/pre-commit
parentFixing incorrect example in TweetDeck. (diff)
downloadferdium-recipes-47b30902244e9d9de969050aed6526f14f73694d.tar.gz
ferdium-recipes-47b30902244e9d9de969050aed6526f14f73694d.tar.zst
ferdium-recipes-47b30902244e9d9de969050aed6526f14f73694d.zip
Adding husky pre-commit hook
Diffstat (limited to '.husky/pre-commit')
-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 0000000..1ecae40
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,4 @@
1#!/bin/sh
2. "$(dirname "$0")/_/husky.sh"
3
4npm run lint && npm run reformat-files && npm run package