Skip to content

Commit

Permalink
chore(husky): update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
NedcloarBR committed Sep 8, 2024
1 parent 13b873b commit dd07318
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn commitlint --edit ${1}
3 changes: 0 additions & 3 deletions .husky/pre-commit.run
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
3 changes: 0 additions & 3 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exec < /dev/tty && npx cz --hook || true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"format": "yarn dlx @biomejs/biome format --write ./",
"lint": "yarn dlx @biomejs/biome lint ./",
"check": "yarn dlx @biomejs/biome check --apply ./",
"postinstall": "prisma generate && husky install || true"
"postinstall": "prisma generate && husky || true"
},
"dependencies": {
"@necord/localization": "^3.1.3",
Expand Down

0 comments on commit dd07318

Please sign in to comment.