ignore: update json schema to show comments & commas are okay in lsp feedback

This commit is contained in:
rekram1-node 2025-08-22 16:17:29 -05:00
parent 35f57768fd
commit 3872f67990

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))