Skip to content

Commit 17ffcbe

Browse files
committed
build(npm): update husky hooks
1 parent a2dbe2f commit 17ffcbe

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

.husky/commit-msg

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

.husky/pre-commit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
42
echo committing as $(git config user.name)
53
npx lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dist/"
1818
],
1919
"scripts": {
20-
"prepare": "husky install",
20+
"prepare": "husky",
2121
"commit": "git cz",
2222
"lint": "npm run eslint -- --fix && npm run prettier -- --write",
2323
"eslint": "eslint .",

0 commit comments

Comments
 (0)