UNPKG

@samiyev/guardian

Version:

Research-backed code quality guardian for AI-assisted development. Detects hardcodes, secrets, circular deps, framework leaks, entity exposure, and 9 architecture violations. Enforces Clean Architecture/DDD principles. Works with GitHub Copilot, Cursor, W

25 lines 799 B
import { OrmTypeMatcher } from "./OrmTypeMatcher"; /** * Validates repository method names for domain language compliance * * Ensures repository methods use domain language instead of * technical database terminology. */ export declare class MethodNameValidator { private readonly ormMatcher; private readonly domainMethodPatterns; constructor(ormMatcher: OrmTypeMatcher); /** * Checks if a method name follows domain language conventions */ isDomainMethodName(methodName: string): boolean; /** * Suggests better domain method names */ suggestDomainMethodName(methodName: string): string; /** * Collects method name suggestions based on keywords */ private collectSuggestions; } //# sourceMappingURL=MethodNameValidator.d.ts.map