From 1be63330d750b8ba915c95cc484b9425a742d1b9 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Thu, 18 Jul 2024 06:26:04 +0200 Subject: [PATCH] refactor: run package commands directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit You can now run package commands directly, no need for npx or equivalents. It makes writing hooks more intuitive and is also slightly faster 🐺⚡️ --- .husky/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 4f8bdb44c7d..abdc28bca3f 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ -npx validate-branch-name +validate-branch-name node scripts/check-commit-mail.js -npx --no -- lint-staged --config ./.lintstagedrc.js +lint-staged --config ./.lintstagedrc.js npm run lint:jscpd