diff --git a/.husky/commit-msg b/.husky/commit-msg index 7d8f6d1c4..ddd8ed709 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - node ./node_modules/.bin/happy-validate-commit-message --commitFile=$1 diff --git a/.husky/pre-commit b/.husky/pre-commit index b0f9c29d1..6c713476e 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - node ./node_modules/.bin/happy-lint-changed \ No newline at end of file diff --git a/package.json b/package.json index 23f280e11..bdc5caaad 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "lint:fix": "eslint --max-warnings 0 --cache --cache-location ./.turbo/eslint.cache --fix .", "test": "turbo run test --cache-dir=.turbo", "test:watch": "turbo run test:watch --parallel", - "prepare": "husky install" + "prepare": "husky" }, "devDependencies": { "@types/he": "^1.1.2",