Skip to content

Commit d3eae9b

Browse files
feat:added husky
Signed-off-by: shiva <[email protected]>
1 parent 36bc401 commit d3eae9b

File tree

3 files changed

+654
-12
lines changed

3 files changed

+654
-12
lines changed

.husky/pre-commit

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
echo "🔍 Running ESLint & Prettier..."
5+
6+
npx lint-staged
7+
8+
echo "🧪 Running Unit Tests..."
9+
npm run test

0 commit comments

Comments
 (0)