diff --git a/.husky/commit-msg b/.husky/commit-msg index e3ba66e70..fd5b65bd0 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - yarn commitlint --edit ${1} diff --git a/.husky/pre-commit.run b/.husky/pre-commit.run index 5a182ef10..372362317 100755 --- a/.husky/pre-commit.run +++ b/.husky/pre-commit.run @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - yarn lint-staged diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index cb932df09..5d69d0a75 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - exec < /dev/tty && npx cz --hook || true diff --git a/package.json b/package.json index 0f1ab62f8..f3eba88b4 100644 --- a/package.json +++ b/package.json @@ -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",