Skip to content

Commit 0404380

Browse files
chore: update husky setup
1 parent 77add3d commit 0404380

File tree

4 files changed

+8
-20
lines changed

4 files changed

+8
-20
lines changed

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx --no-install commitlint --edit $1

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx --no-install lint-staged

package-lock.json

Lines changed: 7 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"release": "release-it",
2121
"test:e2e": "jest --config ./tests/jest-e2e.json --runInBand",
2222
"test:e2e:dev": "jest --config ./tests/jest-e2e.json --runInBand --watch",
23-
"prepare": "husky install"
23+
"prepare": "husky"
2424
},
2525
"devDependencies": {
2626
"@commitlint/cli": "19.5.0",

0 commit comments

Comments
 (0)