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,26 +1,17 @@
{ {
"$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" "packageRules": [
], {
"ignorePresets": [ "matchPackagePrefixes": ["@unocss/"],
":prHourlyLimit2" "matchPackageNames": ["unocss"],
], "groupName": "unocss"
"packageRules": [ }
{ ],
"matchPackagePrefixes": [ "lockFileMaintenance": {
"@unocss/" "enabled": true,
], "automerge": true
"matchPackageNames": [ },
"unocss" "platformAutomerge": true
],
"groupName": "unocss"
}
],
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"platformAutomerge": true
} }

View file

@ -172,7 +172,7 @@
{ "code": "CH", "name": "Suiza" }, { "code": "CH", "name": "Suiza" },
{ "code": "SR", "name": "Surinam" }, { "code": "SR", "name": "Surinam" },
{ "code": "TH", "name": "Tailandia" }, { "code": "TH", "name": "Tailandia" },
{ "code": "TW", "name": "Taiwán" }, { "code": "TW", "name": "Taiwán" },
{ "code": "TZ", "name": "Tanzania" }, { "code": "TZ", "name": "Tanzania" },
{ "code": "TJ", "name": "Tayikistán" }, { "code": "TJ", "name": "Tayikistán" },
{ "code": "TL", "name": "Timor Oriental" }, { "code": "TL", "name": "Timor Oriental" },