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", "serve": "vite",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "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 ." "lint": "eslint --fix --color --ignore-path .gitignore --ext .js,.vue ."
}, },
"dependencies": { "dependencies": {

View file

@ -1,20 +1,11 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "extends": ["config:base", "group:recommended"],
"config:base", "ignorePresets": [":prHourlyLimit2"],
"group:recommended"
],
"ignorePresets": [
":prHourlyLimit2"
],
"packageRules": [ "packageRules": [
{ {
"matchPackagePrefixes": [ "matchPackagePrefixes": ["@unocss/"],
"@unocss/" "matchPackageNames": ["unocss"],
],
"matchPackageNames": [
"unocss"
],
"groupName": "unocss" "groupName": "unocss"
} }
], ],