From e773936369bff192a576c231d378c2253ec7abb9 Mon Sep 17 00:00:00 2001 From: liweijie0812 <674416404@qq.com> Date: Fri, 19 May 2023 10:47:10 +0800 Subject: [PATCH] chore: lint-staged remove git add (#515) --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9952028..94b6ce9 100644 --- a/package.json +++ b/package.json @@ -83,12 +83,10 @@ "lint-staged": { "*.{js,jsx,vue,ts,tsx}": [ "prettier --write", - "npm run lint:fix", - "git add ." + "npm run lint:fix" ], "*.{html,vue,vss,sass,less}": [ - "npm run stylelint:fix", - "git add ." + "npm run stylelint:fix" ] } }