From 3afb60cabdc2e5e91c8fc56f5097b21783a98514 Mon Sep 17 00:00:00 2001 From: yikai <15270421125@163.com> Date: Mon, 8 May 2023 23:00:27 +0800 Subject: [PATCH] init --- hippo4j-ui-new/{.husky => .husky/pre-commit} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename hippo4j-ui-new/{.husky => .husky/pre-commit} (78%) diff --git a/hippo4j-ui-new/.husky b/hippo4j-ui-new/.husky/pre-commit similarity index 78% rename from hippo4j-ui-new/.husky rename to hippo4j-ui-new/.husky/pre-commit index 2d9a4ab3..ecde158f 100644 --- a/hippo4j-ui-new/.husky +++ b/hippo4j-ui-new/.husky/pre-commit @@ -1,5 +1,5 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -echo "pre-commit"; -npx lint-staged; \ No newline at end of file +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +echo "pre-commit"; +npm run lint; \ No newline at end of file