dclint
Version:
A command-line tool for validating and enforcing best practices in Docker Compose files.
16 lines (15 loc) • 374 B
TypeScript
import type { RuleMessage } from '../rules/rules.types';
interface LintContext {
path: string;
content: object;
sourceCode: string;
}
interface LintResult {
filePath: string;
messages: RuleMessage[];
errorCount: number;
warningCount: number;
fixableErrorCount?: number;
fixableWarningCount?: number;
}
export { LintContext, LintResult };