ignore: update json schema for better lsp dx (#2186)

This commit is contained in:
Aiden Cline
2025-08-22 17:59:18 -05:00
committed by GitHub
parent cf29ec0a59
commit 004f53f741

View File

@@ -32,5 +32,13 @@ const result = zodToJsonSchema(Config.Info, {
return jsonSchema
},
})
}) as Record<string, unknown> & {
allowComments?: boolean
allowTrailingCommas?: boolean
}
// used for json lsps since config supports jsonc
result.allowComments = true
result.allowTrailingCommas = true
await Bun.write(file, JSON.stringify(result, null, 2))