From 13e9227e7841c7ac8f930157a765bbf5e720a9df Mon Sep 17 00:00:00 2001 From: thecashewtrader Date: Wed, 2 Nov 2022 21:46:25 +0530 Subject: [PATCH] Add format script to package.json as running lint can be slow --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index df51a971..40284828 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "serve": "vite", "build": "vite build", "preview": "vite preview", + "format": "prettier -w --ignore-path .gitignore **/**.{js,vue}", "lint": "eslint --fix --color --ignore-path .gitignore --ext .js,.vue ." }, "dependencies": {