From 2f4b2e1790d00a216bc5f92f42411af038e5e286 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sat, 22 Jan 2022 20:33:06 +0800 Subject: [PATCH] misc: fix stylelint erroring when lint-staged passed ignored file (#6441) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7511098a51..5edaefe95c 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "eslint --fix" ], "*.css": [ - "stylelint --fix" + "stylelint --allow-empty-input --fix" ], "*": [ "prettier --ignore-unknown --write"