Skip to content

Commit

Permalink
chore(husky): remove shebangs
Browse files Browse the repository at this point in the history
Signed-off-by: Will Soto <[email protected]>
  • Loading branch information
willsoto committed Jul 21, 2024
1 parent b29b84d commit 19e58d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
pnpm exec commitlint --edit "$1"
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
pnpm exec lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"clean": "rimraf dist coverage .nyc_output",
"format": "prettier . --write",
"lint": "eslint . --fix",
"prepare": "husky install",
"prepare": "husky",
"prerelease": "npm run build",
"release": "semantic-release",
"test": "mocha",
Expand Down

0 comments on commit 19e58d5

Please sign in to comment.