mastra
Version:
cli for mastra
27 lines • 735 B
TypeScript
import type { LintIssue } from './rules/types.js';
export interface LintOptions {
dir?: string;
root?: string;
tools?: string[];
preflight?: boolean;
skipBuild?: boolean;
envFile?: string;
strict?: boolean;
json?: boolean;
debug?: boolean;
}
export interface LintResult {
ok: boolean;
issues: LintIssue[];
errorCount: number;
warningCount: number;
error?: string;
}
export declare function lint(options: LintOptions): Promise<LintResult>;
export declare function printLintReport(result: LintResult, options?: {
strict?: boolean;
}): void;
export declare function emitLintJson(result: LintResult, options?: {
strict?: boolean;
}): void;
//# sourceMappingURL=index.d.ts.map