Skip to content

Commit e7d1ec2

Browse files
committed
refactor: remove --no-install flag from husky hooks
1 parent 74e5f2d commit e7d1ec2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# Skip commit-msg hook on CI
55
[ -n "$CI" ] && exit 0
66

7-
npx --no-install commitlint --edit $1
7+
npx commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# Skip pre-commit hook on CI
55
[ -n "$CI" ] && exit 0
66

7-
npx --no-install lint-staged
7+
npx lint-staged

0 commit comments

Comments
 (0)