From e654c0308c26ccffdd0a4abc50f0adb99c76d9ca Mon Sep 17 00:00:00 2001 From: satnaing Date: Tue, 18 Apr 2023 00:02:33 +0630 Subject: [PATCH] fix: update lint-staged configuration Configure lint-staged to format only non-image files while making a commit. fix #52 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 298aa9d..1e7aa42 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ } }, "lint-staged": { - "*": [ + "!(*.{png,jpg,jpeg,webp})": [ "prettier --plugin-search-dir=. --write" ] }