@felixgeelhaar/cclint
Version:
Catch CLAUDE.md drift before Claude misbehaves. Lints CLAUDE.md, skills, subagents, and hooks for Claude Code projects.
19 lines • 642 B
TypeScript
import type { Rule } from '../domain/Rule.js';
import { ContextFile } from '../domain/ContextFile.js';
import { Violation } from '../domain/Violation.js';
export interface ContentPattern {
pattern: string;
description: string;
isRegex?: boolean;
}
export declare class ContentRule implements Rule {
readonly id = "content";
readonly description: string;
private readonly patterns;
constructor(patterns?: ContentPattern[]);
private static getDefaultPatterns;
appliesTo(file: ContextFile): boolean;
lint(file: ContextFile): Violation[];
private hasPattern;
}
//# sourceMappingURL=ContentRule.d.ts.map