From 5317f6c22ede080dbe4428b24afb5e8a6f99f229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 3 Apr 2024 14:05:59 +0200 Subject: [PATCH] Fix: Remove warning when running lint staged pre-commit hook Running `git add` is obsolete with the lint-staged version in use. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index ba7dd57e51..19d62b9476 100644 --- a/package.json +++ b/package.json @@ -121,8 +121,7 @@ }, "lint-staged": { "*.{js,json}": [ - "prettier --write", - "git add" + "prettier --write" ] } }