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 parsec-bin
solaar # open source manager for logitech unifying receivers solaar # open source manager for logitech unifying receivers
unstable.bruno unstable.bruno
unstable.flameshot (unstable.flameshot.override { enableWlrSupport = true; })
unstable.fractal unstable.fractal
unstable.httpie unstable.httpie
unstable.jetbrains.datagrip unstable.jetbrains.datagrip

View file

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