Skip to content

Commit

Permalink
Migrate Husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Delemangi committed Feb 3, 2024
1 parent 460eedb commit ed600f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"build": "rimraf dist && tsc",
"format": "eslint . --ext .ts --fix",
"lint": "eslint . --ext .ts --cache",
"prepare": "husky install",
"prepare": "husky",
"start": "node dist/main.js"
},
"type": "module",
Expand Down

0 comments on commit ed600f0

Please sign in to comment.