UNPKG

danger-plugin-lint-report

Version:

This plugin reads checkstyle / lint reports and posts issues and violations as inline comments in pull requests.

13 lines (12 loc) 776 B
export declare const maxParallel = 10; declare type MarkdownString = string; export declare function message(message: MarkdownString, file?: string, line?: number): void; export declare function warn(message: string, file?: string, line?: number): void; export declare function fail(message: string, file?: string, line?: number): void; export declare function markdown(message: string, file?: string, line?: number): void; /** * This plugin reads checkstyle reports (XML) and posts inline comments in pull requests. */ export declare function scan(config: CheckstyleConfig): Promise<void>; export declare function scanXmlReport(git: any, xmlReport: any, root: any, requireLineModification: any, violationCallback: (violation: Violation) => void): Promise<void>; export {};