Skip to content

Commit 4c873d1

Browse files
committed
Setup husky and lint-staged
1 parent 1a9aa78 commit 4c873d1

File tree

6 files changed

+47
-971
lines changed

6 files changed

+47
-971
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@
3131
/.env
3232
/docs/.firebase
3333
/docs/.firebaserc
34+
/node_modules

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

0 commit comments

Comments
 (0)