diff --git a/.husky/pre-commit b/.husky/pre-commit index 9dcd433f..39abe4df 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn lint diff --git a/.vscode/settings.json b/.vscode/settings.json index d99cd94d..e1721f68 100755 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.codeActionsOnSave": { - "source.fixAll": true + "source.fixAll": "explicit" }, "editor.formatOnSave": true, "eslint.validate": ["javascript", "typescript"] diff --git a/package.json b/package.json index 33646f90..ec868aa0 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "lint:eslint": "eslint . --ext .ts,.js --fix", "lint:format": "prettier --write '**/*.{ts,js,tsx,jsx,astro,vue,svelte,json,md,yml}'", "prepack": "yarn test && yarn build", - "prepare": "husky install", + "prepare": "husky", "typecheck": "astro check && tsc --noEmit && svelte-check && vue-tsc --noEmit --p tsconfig.vue.json" }, "author": "",