Skip to content

Commit 72c6058

Browse files
committed
chore: use npx module
1 parent 3c10b5b commit 72c6058

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

.husky/commit-msg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
3-
. "$(dirname "$0")/common.sh"
43

5-
yarn commitlint --edit "$1"
4+
npx @commitlint/cli --extends @bubkoo/commitlint-config --edit "$1"

.husky/common.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/pre-commit

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
3-
. "$(dirname "$0")/common.sh"
43

5-
yarn lint-staged
4+
npx lint-staged

.husky/prepare-commit-msg

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)