UNPKG

tdd-guard

Version:

Automated Test-Driven Development enforcement for Claude Code

100 lines 3.42 kB
import { z } from 'zod'; export declare const ESLintMessageSchema: z.ZodObject<{ line: z.ZodOptional<z.ZodNumber>; column: z.ZodOptional<z.ZodNumber>; severity: z.ZodNumber; message: z.ZodString; ruleId: z.ZodOptional<z.ZodString>; }, z.core.$strip>; export declare const ESLintResultSchema: z.ZodObject<{ filePath: z.ZodString; messages: z.ZodOptional<z.ZodArray<z.ZodObject<{ line: z.ZodOptional<z.ZodNumber>; column: z.ZodOptional<z.ZodNumber>; severity: z.ZodNumber; message: z.ZodString; ruleId: z.ZodOptional<z.ZodString>; }, z.core.$strip>>>; }, z.core.$strip>; export declare const GolangciLintPositionSchema: z.ZodObject<{ Filename: z.ZodString; Line: z.ZodNumber; Column: z.ZodNumber; }, z.core.$strip>; export declare const GolangciLintIssueSchema: z.ZodObject<{ FromLinter: z.ZodString; Text: z.ZodString; Severity: z.ZodString; Pos: z.ZodObject<{ Filename: z.ZodString; Line: z.ZodNumber; Column: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const GolangciLintResultSchema: z.ZodObject<{ Issues: z.ZodOptional<z.ZodArray<z.ZodObject<{ FromLinter: z.ZodString; Text: z.ZodString; Severity: z.ZodString; Pos: z.ZodObject<{ Filename: z.ZodString; Line: z.ZodNumber; Column: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; export declare const LintIssueSchema: z.ZodObject<{ file: z.ZodString; line: z.ZodNumber; column: z.ZodNumber; severity: z.ZodEnum<{ error: "error"; warning: "warning"; }>; message: z.ZodString; rule: z.ZodOptional<z.ZodString>; }, z.core.$strip>; export declare const LintResultSchema: z.ZodObject<{ timestamp: z.ZodString; files: z.ZodArray<z.ZodString>; issues: z.ZodArray<z.ZodObject<{ file: z.ZodString; line: z.ZodNumber; column: z.ZodNumber; severity: z.ZodEnum<{ error: "error"; warning: "warning"; }>; message: z.ZodString; rule: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; errorCount: z.ZodNumber; warningCount: z.ZodNumber; }, z.core.$strip>; export declare const LintDataSchema: z.ZodObject<{ timestamp: z.ZodString; files: z.ZodArray<z.ZodString>; issues: z.ZodArray<z.ZodObject<{ file: z.ZodString; line: z.ZodNumber; column: z.ZodNumber; severity: z.ZodEnum<{ error: "error"; warning: "warning"; }>; message: z.ZodString; rule: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; errorCount: z.ZodNumber; warningCount: z.ZodNumber; hasNotifiedAboutLintIssues: z.ZodBoolean; }, z.core.$strip>; export type ESLintMessage = z.infer<typeof ESLintMessageSchema>; export type ESLintResult = z.infer<typeof ESLintResultSchema>; export type GolangciLintPosition = z.infer<typeof GolangciLintPositionSchema>; export type GolangciLintIssue = z.infer<typeof GolangciLintIssueSchema>; export type GolangciLintResult = z.infer<typeof GolangciLintResultSchema>; export type LintData = z.infer<typeof LintDataSchema>; export type LintIssue = z.infer<typeof LintIssueSchema>; export type LintResult = z.infer<typeof LintResultSchema>; //# sourceMappingURL=lintSchemas.d.ts.map