From 2ffa261f7cb59c36126f5b11139c1dc7480fd1e3 Mon Sep 17 00:00:00 2001 From: Miner28_3 Date: Sat, 7 Feb 2026 11:40:57 +0100 Subject: [PATCH 1/2] Reorders enum varname entries for consistency Corrects the sequence of enum variable names by placing 'hidden' after 'plus18' to match enum order, improving consistency and clarity in the AgeVerificationStatus schema. --- openapi/components/schemas/AgeVerificationStatus.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/components/schemas/AgeVerificationStatus.yaml b/openapi/components/schemas/AgeVerificationStatus.yaml index 57e64fc7..18f7e9a0 100644 --- a/openapi/components/schemas/AgeVerificationStatus.yaml +++ b/openapi/components/schemas/AgeVerificationStatus.yaml @@ -9,6 +9,6 @@ enum: - hidden - verified x-enum-varnames: - - hidden - plus18 + - hidden - verified From b87bd052465858a0a2c3a120b02d38bdf57d23cb Mon Sep 17 00:00:00 2001 From: JelleJurre <76777936+jellejurre@users.noreply.github.com> Date: Sat, 7 Feb 2026 12:27:57 +0100 Subject: [PATCH 2/2] Update yaml/sort-sequence-values pathPattern regex --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 250eb972..d62b0357 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -115,7 +115,7 @@ export default configure({ "yaml/sort-sequence-values": [ "error", { - pathPattern: ".*", + pathPattern: "^(?!.*x-enum-varnames).*", order: [ { order: {