diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af2198..c27d8893 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npx lint-staged +lint-staged diff --git a/package.json b/package.json index 2f9b5210..dc16cef7 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "start": "wp-scripts start src/admin-landing-page.js src/plugin-sidebar.js", "composer": "wp-env run cli --env-cwd=wp-content/plugins/create-block-theme composer", "update-version": "node update-version-and-changelog.js", - "prepare": "husky install", + "prepare": "husky", "wp-env": "wp-env", "test:unit": "wp-scripts test-unit-js --config test/unit/jest.config.js" },