From 6cbbc6df4523ce68db8f73d0765dfeaa2686941a Mon Sep 17 00:00:00 2001 From: Sai Karthik Date: Thu, 15 Jun 2023 00:08:43 +0530 Subject: [PATCH] fix: add json file support for `yarn format` cmd --- package.json | 2 +- renovate.json | 39 ++++++++++++++--------------------- src/utils/CountryMaps/es.json | 2 +- 3 files changed, 17 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 2991fde3..239c2247 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/renovate.json b/renovate.json index 5fadff64..6a5de942 100644 --- a/renovate.json +++ b/renovate.json @@ -1,26 +1,17 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base", - "group:recommended" - ], - "ignorePresets": [ - ":prHourlyLimit2" - ], - "packageRules": [ - { - "matchPackagePrefixes": [ - "@unocss/" - ], - "matchPackageNames": [ - "unocss" - ], - "groupName": "unocss" - } - ], - "lockFileMaintenance": { - "enabled": true, - "automerge": true - }, - "platformAutomerge": true + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:base", "group:recommended"], + "ignorePresets": [":prHourlyLimit2"], + "packageRules": [ + { + "matchPackagePrefixes": ["@unocss/"], + "matchPackageNames": ["unocss"], + "groupName": "unocss" + } + ], + "lockFileMaintenance": { + "enabled": true, + "automerge": true + }, + "platformAutomerge": true } diff --git a/src/utils/CountryMaps/es.json b/src/utils/CountryMaps/es.json index f2e74d5e..90b35cf5 100644 --- a/src/utils/CountryMaps/es.json +++ b/src/utils/CountryMaps/es.json @@ -172,7 +172,7 @@ { "code": "CH", "name": "Suiza" }, { "code": "SR", "name": "Surinam" }, { "code": "TH", "name": "Tailandia" }, - { "code": "TW", "name": "Taiwán" }, + { "code": "TW", "name": "Taiwán" }, { "code": "TZ", "name": "Tanzania" }, { "code": "TJ", "name": "Tayikistán" }, { "code": "TL", "name": "Timor Oriental" },