From 682eeccd07c5b011d98e4fb27f485fca0329b95c Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Mon, 20 Feb 2023 16:46:44 +0100 Subject: [PATCH] chore: change scripts to use npx --- .husky/pre-commit | 2 +- .lintstagedrc.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index c627fcd..36af219 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -pnpx lint-staged +npx lint-staged diff --git a/.lintstagedrc.json b/.lintstagedrc.json index c228e11..f5d801a 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,4 +1,4 @@ { - "**/*.{md,mdx,html,astro,svelte,css}": ["pnpx prettier --write"], - "**/*.{js,ts,html,astro,svelte}": ["pnpx eslint --fix"] + "**/*.{md,mdx,html,astro,svelte,css}": ["npx prettier --write"], + "**/*.{js,ts,html,astro,svelte}": ["npx eslint --fix"] }