diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc..c27d889 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx lint-staged +lint-staged diff --git a/package.json b/package.json index b3fb2e7..5629ad7 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "test": "npm run lint:js && npm run test:e2e", "test:e2e": "wp-scripts test-playwright", "test:e2e:debug": "wp-scripts test-playwright --debug", - "prepare": "husky install" + "prepare": "husky" }, "lint-staged": { "*.{js,json,yml,yaml}": [