Skip to content

Commit

Permalink
chore: fix husky script
Browse files Browse the repository at this point in the history
  • Loading branch information
DerYeger committed Nov 30, 2024
1 parent 0a6d765 commit 1b214b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

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

pnpm lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"generate": "nr turbo run generate",
"generate-readme": "nr turbo build --filter=@yeger/scripts... && generate-readme",
"graph": "nr turbo build --filter=@yeger/turbo-graph... && turbo-graph --open",
"install-hooks": "is-ci || husky install",
"install-hooks": "husky",
"lint": "nr turbo run lint lint:root",
"lint:root": "eslint \"{.changeset,.github,.husky,.vscode,turbo}/**/*.{astro,html,js,jsx,json,md,ts,tsx,vue,yaml,yml}\" \"./*.{astro,html,js,jsx,json,md,ts,tsx,vue,yaml,yml}\"",
"preview": "nr turbo run preview",
Expand Down

0 comments on commit 1b214b5

Please sign in to comment.