fix: add json file support for yarn format cmd

This commit is contained in:
Sai Karthik 2023-06-15 00:08:43 +05:30
parent 5190ab6941
commit 6cbbc6df45
No known key found for this signature in database
GPG key ID: F5B9A961BF6EAF0E
3 changed files with 17 additions and 26 deletions

View file

@ -6,7 +6,7 @@
"serve": "vite",
"build": "vite build",
"preview": "vite preview",
"format": "prettier -w --ignore-path .gitignore **/**.{js,vue}",
"format": "prettier -w --ignore-path .gitignore **/**.{js,vue,json}",
"lint": "eslint --fix --color --ignore-path .gitignore --ext .js,.vue ."
},
"dependencies": {