From 30f612f67cc2d9bdb0a560b140257779bce7aa6a Mon Sep 17 00:00:00 2001 From: HubuHito Date: Wed, 28 Feb 2024 10:08:14 +0800 Subject: [PATCH] =?UTF-8?q?OPTIMIZATION:=20=E5=88=A0=E9=99=A4husky?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C(closed=20#2102)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 69d64b5a2..9710826ff 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,18 +17,6 @@ }, "keywords": [], "license": "MIT", - "husky": { - "hooks": { - "pre-commit": "lint-staged", - "pre-push": "lint-staged" - } - }, - "lint-staged": { - "src/**/*.(vue|ts)": [ - "eslint --fix", - "git add" - ] - }, "betterScripts": { "dll": { "command": "ts-node --project build/tsconfig.json build/build-dll.ts" @@ -129,7 +117,6 @@ "file-loader": "^6.2.0", "fs-extra": "~8.0.1", "html-webpack-plugin": "^4.5.0", - "husky": "^4.2.3", "lint-staged": "^10.2.11", "mini-css-extract-plugin": "2.6.0", "moment": "~2.24.0",