UNPKG

ccguard

Version:

Automated enforcement of net-negative LOC, complexity constraints, and quality standards for Claude code

27 lines 761 B
import { BaseFormatter } from './formatters/BaseFormatter'; import { FormatterConfig } from './Formatter'; /** * Formatter that executes shell commands to format code */ export declare class CommandFormatter extends BaseFormatter { private config; private cache; constructor(config: FormatterConfig); /** * Get supported extensions from config */ protected getSupportedExtensions(): string[]; /** * Format content using the configured command */ format(content: string, filePath: string): Promise<string>; /** * Execute the formatter command */ private executeFormatter; /** * Clear the formatting cache */ clearCache(): void; } //# sourceMappingURL=CommandFormatter.d.ts.map