@eklmv/jscpd-badge-reporter
Version:
Reporter for jscpd. Generate a badges with copy/paste level.
13 lines (10 loc) • 414 B
text/typescript
import { IOptions, IClone, IStatistic } from '@eklmv/jscpd-core';
import { IReporter } from '@eklmv/jscpd-finder';
declare class BadgeReporter implements IReporter {
private options;
constructor(options: IOptions);
report(clones: IClone[], statistic: IStatistic): void;
getStatus(statistic: IStatistic): string;
getColor(statistic: IStatistic): string;
}
export { BadgeReporter as default };