aboutsummaryrefslogtreecommitdiffstats
path: root/.husky/pre-commit
diff options
context:
space:
mode:
authorAhmed Tarek <ahmed.tokyo1@gmail.com>2021-07-29 20:06:12 +0200
committerGitHub <noreply@github.com>2021-07-29 11:06:12 -0700
commit0bac86b0a7cca056da83065e7fb2982b35b1cb02 (patch)
tree62c3f0a7782abb45f1204a02e0033696a29cbf31 /.husky/pre-commit
parent28b39bd026d1c13150856d84170fe6127288e104 (diff)
🔨 add husky precommit to auto run prettier (#128)
* :sparkles: add husky precommit to auto run prettier * yarn
Diffstat (limited to '.husky/pre-commit')
-rwxr-xr-x.husky/pre-commit5
1 files changed, 5 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100755
index 0000000..a03ddbc
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,5 @@
1#!/bin/sh
2. "$(dirname "$0")/_/husky.sh"
3
4# Format using prettier
5make fmt.write