From 448a1d5bbd6f3fe694cbaf6727d26c72cf179a26 Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Sun, 8 Feb 2026 18:50:06 +0000 Subject: [PATCH 1/3] feat: allow deprecated property on schema-linter --- schemas-lint/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas-lint/index.js b/schemas-lint/index.js index 25bdf85..5386da5 100644 --- a/schemas-lint/index.js +++ b/schemas-lint/index.js @@ -50,6 +50,7 @@ for (const filename of schemas) { "tsType", "not", "link", + "deprecated", ]; const isReference = (schema) => { @@ -125,7 +126,7 @@ for (const filename of schemas) { process.exitCode = 1; } } - + if ("properties" in item || "additionalProperties" in item) { if (item.type !== "object") { console.log( From 9c5e5a6369e67fbf06abb572f367adde1849072f Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Mon, 23 Feb 2026 01:25:28 +0000 Subject: [PATCH 2/3] feat: add deprecated property in format-schemas --- format-schemas/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/format-schemas/index.js b/format-schemas/index.js index e243d42..362f283 100644 --- a/format-schemas/index.js +++ b/format-schemas/index.js @@ -111,6 +111,8 @@ const PROPERTIES = [ "instanceof", "tsType", + + "deprecated", ]; const processJson = processSchema.bind(null, { From 5e72bf5fc1207a23a2e04d76218a9df7863a4fca Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Mon, 23 Feb 2026 02:22:14 +0000 Subject: [PATCH 3/3] fixup! --- schemas-lint/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas-lint/index.js b/schemas-lint/index.js index 5386da5..aeb321b 100644 --- a/schemas-lint/index.js +++ b/schemas-lint/index.js @@ -126,7 +126,7 @@ for (const filename of schemas) { process.exitCode = 1; } } - + if ("properties" in item || "additionalProperties" in item) { if (item.type !== "object") { console.log(