chore: change scripts to use npx

This commit is contained in:
Stefan Imhoff
2023-02-20 16:46:44 +01:00
parent d8c6eedbe7
commit 682eeccd07
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpx lint-staged
npx lint-staged

View File

@@ -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"]
}