From 8b5dbbb3951381f838a8700d4e3d400d42e2afbe Mon Sep 17 00:00:00 2001 From: Aki Hamano Date: Sat, 24 Jan 2026 16:46:04 +0900 Subject: [PATCH] Code Quality: Migrate to husky v9 format --- .husky/pre-commit | 5 +---- package.json | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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" },