From 4d7e0bd373633c484357a9f3e971b107791cb4a9 Mon Sep 17 00:00:00 2001 From: Nukeap <53114367+Nukeap@users.noreply.github.com> Date: Wed, 5 Feb 2025 09:20:37 +0300 Subject: [PATCH] q --- .git-hooks/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 .git-hooks/pre-commit diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit deleted file mode 100644 index 4cd742445..000000000 --- a/.git-hooks/pre-commit +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -npm run lint-staged diff --git a/package.json b/package.json index ab1cee7cf..3b0dd3ba3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", - "prepare": "git config core.hooksPath .git-hooks", + "postinstall": "git config core.hooksPath .git-hooks", "lint-staged": "lint-staged" }, "devDependencies": {