diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..cb2c84d --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +pnpm lint-staged diff --git a/package.json b/package.json index d28ba18..4418048 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "astro build", "preview": "astro preview", "astro": "astro", - "prepare": "husky install" + "prepare": "husky" }, "lint-staged": { "*.{js,ts,jsx,tsx,astro,html,md,json,yml,yaml}": "prettier --write"