Skip to content

Commit

Permalink
chore: simplify husky setup (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
cexbrayat authored Jan 26, 2024
1 parent c4cc81b commit 8146198
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 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"

pnpm exec lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"node": ">=v16.20.0"
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"format": "prettier --write .",
"build": "zx ./scripts/build.mjs",
"snapshot": "zx ./scripts/snapshot.mjs",
Expand Down Expand Up @@ -45,7 +45,7 @@
"ejs": "^3.1.9",
"esbuild": "^0.18.20",
"esbuild-plugin-license": "^1.2.2",
"husky": "^9.0.1",
"husky": "^9.0.2",
"kolorist": "^1.8.0",
"lint-staged": "^15.2.0",
"minimist": "^1.2.8",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8146198

Please sign in to comment.