From 3ef6c0fb99269c826b68787dab71463da6fd51ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 30 Nov 2024 22:26:57 +0800 Subject: [PATCH] chore(deps-dev): bump husky from 8.0.3 to 9.1.7 (#87) * chore(deps-dev): bump husky from 8.0.3 to 9.1.7 Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.1.7. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.1.7) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * fix pre-commit * fix pre-commit --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afc163 --- .husky/pre-commit | 3 --- package.json | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index 9a8723b..aadc6ec 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "eslint": "^7.0.0", "father": "^4.3.7", "gh-pages": "^6.2.0", - "husky": "^8.0.1", + "husky": "^9.1.7", "less": "^3.10.3", "lint-staged": "^13.0.3", "np": "^10.1.0", @@ -85,8 +85,7 @@ }, "lint-staged": { "**/*.{js,jsx,tsx,ts,md,json}": [ - "prettier --write", - "git add" + "prettier --write" ] }, "cnpm": {