ubon
Version:
Security scanner for AI-generated apps (Cursor, Lovable, Windsurf, v0). Catches hardcoded secrets, prompt injection, hallucinated imports, Server Actions / Edge runtime mistakes, and the vibe-coded vulnerabilities traditional linters miss.
13 lines • 559 B
TypeScript
interface TsconfigPathsConfig {
baseUrl: string;
paths: Record<string, string[]>;
}
export declare function loadTsconfigPaths(directory: string): TsconfigPathsConfig | null;
/**
* Returns true if `specifier` resolves to a real file on disk via the
* project's tsconfig `paths` / `baseUrl`. Used to suppress VIBE001 false
* positives on alias imports like `@/lib/db` or `~/components/Foo`.
*/
export declare function resolvesViaTsconfigPaths(specifier: string, directory: string): boolean;
export {};
//# sourceMappingURL=tsconfig-resolver.d.ts.map