@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
10 lines • 432 B
TypeScript
import { HardcodedValue } from "../value-objects/HardcodedValue";
/**
* Interface for detecting hardcoded values in source code
*/
export interface IHardcodeDetector {
detectMagicNumbers(code: string, filePath: string): HardcodedValue[];
detectMagicStrings(code: string, filePath: string): HardcodedValue[];
detectAll(code: string, filePath: string): HardcodedValue[];
}
//# sourceMappingURL=IHardcodeDetector.d.ts.map