From e2c21c17558f027970d9ab063bf0c77ed2ab3b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Thu, 13 Mar 2025 17:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4husky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/pre-commit | 2 -- package.json | 2 -- 2 files changed, 4 deletions(-) delete mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index a96efab..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,2 +0,0 @@ -npm run stylelint -npm run lint diff --git a/package.json b/package.json index efb710f..f1d61ff 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "build_uat": "run-s build-only -- --model uat", "preview": "vite preview", "build-only": "vite build", - "prepare": "husky", "lint": "npx eslint -c ./node_modules/@yl/yili-fe-lint-config/eslintrc.vue3.js \"src/**/*.{js,ts,tsx,vue,html}\" --fix", "stylelint": "npx stylelint -c ./node_modules/@yl/yili-fe-lint-config/stylelintrc.js \"**/*.{css,scss,sass,less,vue,html}\" --fix" }, @@ -39,7 +38,6 @@ "@vue/tsconfig": "^0.5.1", "@yl/yili-fe-lint-config": "^1.0.0", "amfe-flexible": "^2.2.1", - "husky": "^9.1.5", "npm-run-all2": "^6.2.0", "postcss-pxtorem": "^6.1.0", "sass": "^1.85.1",