diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000..41ae0d5c --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npx --no lint-staged diff --git a/package.json b/package.json index 2cbf7d4e..d40cfc55 100644 --- a/package.json +++ b/package.json @@ -139,11 +139,6 @@ "winston": "^3.3.3", "yargs": "^15.4.1" }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, "versionist": { "publishedAt": "2023-10-16T13:50:18.745Z" }