Skip to content

Commit 34787c1

Browse files
committed
ci: fix commitlint
1 parent 4a04ce0 commit 34787c1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

husky/commit-msg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
pnpm commitlint \${1}
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"lint": "prettier --write .",
1818
"prepack": "unbuild",
1919
"start": "node ./bin/index.mjs",
20-
"release": "changelogen --release",
21-
"commitlint": "commitlint --edit"
20+
"release": "changelogen --release"
2221
},
2322
"resolutions": {
2423
"@harmonix-js/core": "link:."

0 commit comments

Comments
 (0)