Skip to content

Commit a0e4e27

Browse files
committed
fix: update config
1 parent 88ef1e8 commit a0e4e27

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.husky/commit-msg

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

.husky/pre-commit

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"scripts": {
3-
"prepare": "husky install"
3+
"prepare": "husky"
44
},
55
"devDependencies": {
66
"@commitlint/cli": "^19.3.0",

0 commit comments

Comments
 (0)