From 12334d88f668cb4065b60593ea784ac35e9382d1 Mon Sep 17 00:00:00 2001 From: anlyyao Date: Thu, 15 Sep 2022 17:23:09 +0800 Subject: [PATCH] feat: update lint-staged configuration --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cdebbc1af..de4973566 100644 --- a/package.json +++ b/package.json @@ -178,8 +178,9 @@ } }, "lint-staged": { - "*.{vue,ts,tsx}": [ - "eslint --fix" + "*.{vue,ts,tsx,js}": [ + "eslint --fix", + "prettier --write" ] } }