misc: fix stylelint erroring when lint-staged passed ignored file (#6441)

This commit is contained in:
Joshua Chen 2022-01-22 20:33:06 +08:00 committed by GitHub
parent 456ffbd330
commit 2f4b2e1790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@
"eslint --fix"
],
"*.css": [
"stylelint --fix"
"stylelint --allow-empty-input --fix"
],
"*": [
"prettier --ignore-unknown --write"