Skip to content

Commit

Permalink
fix: commitlint now called by husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacro committed Jun 21, 2024
1 parent 6aae01d commit 06b8618
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm dlx commitlint --edit $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"test:debug": "vitest --inspect-brk --inspect --logHeapUsage --threads=false",
"test:e2e": "vitest run --config vitest.config.e2e.mts",
"test:mutate": "stryker run",
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"@mikro-orm/cli": "^6.2.9",
Expand Down

0 comments on commit 06b8618

Please sign in to comment.