-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update Husky pre-commit script
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
}, | ||
|
@@ -33,4 +33,4 @@ | |
"*.ts": "prettier --write" | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |