Skip to content

Commit

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

npx lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"format": "prettier --write \"packages/**/*.ts\"",
"lint": "turbo run lint",
"lint:fix": "turbo run lint:fix",
"prepare": "husky install",
"prepare": "husky",
"test": "turbo run test",
"version": "cd ./packages/scripts && npm run version"
},
Expand All @@ -33,4 +33,4 @@
"*.ts": "prettier --write"
},
"packageManager": "[email protected]"
}
}

0 comments on commit 2605783

Please sign in to comment.