From 612b48673c3389779ccfdd161e2ca80b21d265b2 Mon Sep 17 00:00:00 2001 From: chenkl <321200875@qq.com> Date: Thu, 7 Jan 2021 10:14:08 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=92=84=20=E5=BE=AE=E8=B0=83?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ab62279..ee83399 100644 --- a/package.json +++ b/package.json @@ -89,9 +89,11 @@ "template", "element-plus" ], - "gitHooks": { - "pre-commit": "lint-staged", - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + "husky": { + "hooks": { + "pre-commit": "lint-staged", + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + } }, "lint-staged": { "*.{js,vue}": [