From b726322c8484755dfcf155897637e4c761eb34a0 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Mon, 30 Mar 2026 22:25:07 -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 2312dc5..3723623 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npx lint-staged +yarn lint-staged