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",