From 9b2fee2ef9d7b34d5a1f9f2c40fb03c9c122eea8 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:27:09 +0900 Subject: [PATCH] chore(default.json5): remove prettier ignore directives (#6) --- default.json5 | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/default.json5 b/default.json5 index 51a9db1..97df311 100644 --- a/default.json5 +++ b/default.json5 @@ -22,14 +22,12 @@ { customType: "regex", description: "Updates tool versions in mise.toml (default registry)", - // prettier-ignore fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], // cspell:ignore datasource datasourceTemplate: "{{#unless datasource}}github-releases{{else}}{{datasource}}{{/unless}}", matchStrings: [ // test: https://regex101.com/r/8grHta - // prettier-ignore - "# renovate:(?: datasource=(?.+?))?(?: packageName=(?.+?))?(?: versioning=(?.+?))?(?: extractVersion=(?.+?))?\\n\"?(?[^:]+?)\"? *= *\"(?.+?)\"", + '# renovate:(?: datasource=(?.+?))?(?: packageName=(?.+?))?(?: versioning=(?.+?))?(?: extractVersion=(?.+?))?\\n"?(?[^:]+?)"? *= *"(?.+?)"', ], }, // renovate does not support backends @@ -37,37 +35,31 @@ { customType: "regex", description: "Updates tool versions in mise.toml (Cargo backend)", - // prettier-ignore fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], datasourceTemplate: "crate", matchStrings: [ // test: https://regex101.com/r/K6Imdx - // prettier-ignore - "\"cargo:(?.+?)\" *= *\"(?.+?)\"", + '"cargo:(?.+?)" *= *"(?.+?)"', ], }, { customType: "regex", description: "Updates tool versions in mise.toml (npm backend)", - // prettier-ignore fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], datasourceTemplate: "npm", matchStrings: [ // test: https://regex101.com/r/avOpdb - // prettier-ignore - "\"npm:(?.+?)\" *= *\"(?.+?)\"", + '"npm:(?.+?)" *= *"(?.+?)"', ], }, { customType: "regex", description: "Updates tool versions in mise.toml (ubi, aqua backend)", - // prettier-ignore fileMatch: ["(^|/)\\.?mise\\.toml$", "(^|/)\\.?mise/config\\.toml$"], datasourceTemplate: "github-releases", matchStrings: [ // test: https://regex101.com/r/RRA3NI - // prettier-ignore - "(?:# renovate: extractVersion=(?.+?)\\n)?\"(?:ubi|aqua):(?.+?)\" *= *\".*?(?\\d+\\..+?)\"", + '(?:# renovate: extractVersion=(?.+?)\\n)?"(?:ubi|aqua):(?.+?)" *= *".*?(?\\d+\\..+?)"', ], }, { @@ -77,10 +69,7 @@ datasourceTemplate: "github-releases", depNameTemplate: "mise", packageNameTemplate: "jdx/mise", - matchStrings: [ - // prettier-ignore - "min_version = \"(?.+)\"", - ], + matchStrings: ['min_version = "(?.+)"'], }, { customType: "regex", @@ -89,10 +78,7 @@ datasourceTemplate: "github-releases", depNameTemplate: "mise", packageNameTemplate: "jdx/mise", - matchStrings: [ - // prettier-ignore - "version: (?.+)", - ], + matchStrings: ["version: (?.+)"], }, ], packageRules: [