Skip to content

Commit d6cc229

Browse files
committed
fix: correct husky config
1 parent 9fc92dd commit d6cc229

File tree

5 files changed

+1
-12
lines changed

5 files changed

+1
-12
lines changed

.husky/commit-msg

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

.husky/common.sh

Whitespace-only changes.

.husky/post-merge

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
yarn install

.husky/pre-commit

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"start": "nodemon",
1414
"release": "standard-version && git push --follow-tags origin main && yarn publish",
1515
"clean": "rimraf dist",
16-
"prepare": "husky install",
16+
"prepare": "husky",
1717
"lint:js": "eslint --ext \".js,.ts\" --ignore-path .gitignore .",
1818
"lint:prettier": "prettier --check .",
1919
"lint": "yarn lint:js && yarn lint:prettier",

0 commit comments

Comments
 (0)