Skip to content

Commit 3c707e1

Browse files
committed
chore: update husky script
1 parent 0c126bd commit 3c707e1

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
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
yarn commitlint --edit $1

.husky/pre-commit

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
yarn lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"watch": "yarn --cwd packages/mongodb-memory-server-core run watch",
4646
"build": "tsc --build tsconfig.build.json",
4747
"readme:toc": "doctoc ./README.md",
48-
"postinstall": "husky install",
48+
"postinstall": "husky",
4949
"website": "yarn --cwd website/ run start",
5050
"typedoc": "yarn --cwd packages/mongodb-memory-server-core/ typedoc"
5151
}

0 commit comments

Comments
 (0)