From a26ffeea57f4ee3c1dc43a6fae37f49b7c7733d9 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Mon, 30 Mar 2026 22:24:53 -0700 Subject: [PATCH] build: use yarn lint-staged in pre-commit hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lint-staged is a devDependency — yarn fails closed if it's missing (fresh clone pre-install) instead of npx falling through to a registry fetch. --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 26b909d..c5e3b27 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1,3 @@ #!/usr/bin/env sh . "$(dirname "$0")/_/husky.sh" -npx lint-staged +yarn lint-staged