Skip to content

Commit

Permalink
Migrate husky pre-commit script
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniFoldi committed Mar 31, 2024
1 parent eff322e commit ddc350d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"check:type-esm": "tsc --noEmit",
"check:type-cjs": "tsc --noEmit -p tsconfig-cjs.json",
"watch": "tsc --watch",
"prepare": "husky install"
"prepare": "husky"
},
"homepage": "https://github.com/evanderkoogh/otel-cf-workers#readme",
"dependencies": {
Expand Down

0 comments on commit ddc350d

Please sign in to comment.