diff --git a/.husky/commit-msg b/.husky/commit-msg index c00eb35..34eed8b 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/husky.sh" - -pnpm commitlint --edit "$1" +npx --no -- commitlint --edit $1 \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index ae8ae36..d96ed69 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,8 +1,2 @@ -#!/bin/sh -. "$(dirname "$0")/husky.sh" - -[ -n "$CI" ] && exit 0 - -# Format and submit code according to lintstagedrc.js configuration npm run ts:check -npm run lint:lint-staged +npm run lint:lint-staged \ No newline at end of file