Skip to content

Commit 3c33ae5

Browse files
author
Sophia Marie Terry
committed
CLOUDP-332939: Updated husky usage
1 parent a2fe910 commit 3c33ae5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.husky/pre-commit

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
# Run lint-staged to process only changed JS files
5-
npx lint-staged
2+
lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"ipa-filter-violations": "node tools/spectral/ipa/scripts/filter-ipa-violations.js",
1212
"spectral-validation": "spectral lint ./openapi/.raw/v2.yaml --ruleset=./tools/spectral/.spectral.yaml",
1313
"test": "jest",
14-
"precommit": "husky install"
14+
"precommit": "husky"
1515
},
1616
"jest": {
1717
"transform": {

0 commit comments

Comments
 (0)