mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
fix: add json file support for yarn format
cmd
This commit is contained in:
parent
5190ab6941
commit
6cbbc6df45
3 changed files with 17 additions and 26 deletions
|
@ -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": {
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue