UNPKG

stylelint-checkstyle-reporter

Version:
18 lines (17 loc) 469 B
import { XMLWriterOptions } from 'xmlbuilder2/lib/interfaces'; export interface CheckstyleError { source: string; line: number; column: number; severity: 'warning' | 'error'; message: string; } export declare class CheckstyleReport { private builder; private fileLevel; constructor(); startFile(path: string): void; endFile(): void; addError(error: CheckstyleError): void; generate(options?: XMLWriterOptions): string; }