Skip to content

Commit 5c42df9

Browse files
committed
build: update husky config
1 parent 2851f74 commit 5c42df9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm run pre-commit
4+
npx --no-install lint-staged

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"test": "jest --coverage",
6767
"prepublishOnly": "yarn lint && yarn test",
6868
"semantic-release": "semantic-release",
69-
"pre-commit": "lint-staged",
7069
"prepare": "husky install"
7170
}
7271
}

0 commit comments

Comments
 (0)