update prettier config && format renovate

This commit is contained in:
Joseph Hanson 2024-09-05 16:22:46 -05:00
parent 8822d30545
commit 7a1b0796aa
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
3 changed files with 10 additions and 10 deletions

4
.prettierrc Normal file
View file

@ -0,0 +1,4 @@
{
"quoteProps": "preserve",
"trailingComma": "none"
}

View file

@ -31,7 +31,7 @@ with config;
parsec-bin
solaar # open source manager for logitech unifying receivers
unstable.bruno
unstable.flameshot
(unstable.flameshot.override { enableWlrSupport = true; })
unstable.fractal
unstable.httpie
unstable.jetbrains.datagrip

View file

@ -1,8 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"extends": ["config:base"],
"nix": {
"enabled": true
},
@ -16,16 +14,14 @@
{
"customType": "regex",
"description": "Process various dependencies in nix files",
"fileMatch": [
"\\.nix$"
],
"fileMatch": ["\\.nix$"],
"matchStrings": [
// Newline
"(?m:^[ \\t]*?# ?renovate: depName=(?<depName>\\S+)( datasource=(?<datasource>\\S+))?( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\\n[ \\t ]*?\\S+ = \"?(?<currentValue>[^\" ]+?)\";?$)"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}",
},
],
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}"
}
]
}