diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 00000000..d2902b1c --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +pnpm pre-commit diff --git a/package.json b/package.json index 105b5ff6..40402156 100644 --- a/package.json +++ b/package.json @@ -21,11 +21,6 @@ "preinstall": "npx only-allow pnpm", "prepare": "husky install" }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, "lint-staged": { "**/*.ts": [ "pnpm prettify",