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

17 lines 706 B
import Parser from "tree-sitter"; import { NamingViolation } from "../../../domain/value-objects/NamingViolation"; /** * AST-based analyzer for detecting function and method naming violations * * Analyzes function declaration, method definition, and arrow function nodes * to ensure proper naming conventions: * - Functions and methods should be camelCase * - Private methods with underscore prefix are allowed */ export declare class AstFunctionNameAnalyzer { /** * Analyzes a function or method declaration node */ analyze(node: Parser.SyntaxNode, layer: string, filePath: string, _lines: string[]): NamingViolation | null; } //# sourceMappingURL=AstFunctionNameAnalyzer.d.ts.map