From 8d8abc7ce709ca5434071aa35c4ea903af909688 Mon Sep 17 00:00:00 2001 From: Zach Panzarino Date: Fri, 4 Jun 2021 20:37:54 +0300 Subject: [PATCH] chore: remove git add from precommit hooks (#16803) --- package.json | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 14ee39d84704..f5dbad12e864 100644 --- a/package.json +++ b/package.json @@ -238,14 +238,8 @@ ] }, "lint-staged": { - "*.coffee": [ - "yarn stop-only --folder", - "git add" - ], - "*.{js,jsx,ts,tsx,json,eslintrc}": [ - "eslint --fix", - "git add" - ] + "*.coffee": "yarn stop-only --folder", + "*.{js,jsx,ts,tsx,json,eslintrc}": "eslint --fix" }, "resolutions": { "**/@types/cheerio": "0.22.21",