Files
oh-my-opencode/src/config/schema/comment-checker.ts
T

9 lines
319 B
TypeScript
Raw Normal View History

import { z } from "zod"
export const CommentCheckerConfigSchema = z.object({
/** Custom prompt to replace the default warning message. Use {{comments}} placeholder for detected comments XML. */
custom_prompt: z.string().optional(),
})
export type CommentCheckerConfig = z.infer<typeof CommentCheckerConfigSchema>