UNPKG

eslint-rule-benchmark

Version:

Benchmark ESLint rules with detailed performance metrics for CI and plugin development

16 lines (15 loc) 578 B
import { TestSpecResult, ReporterFormat } from '../types/benchmark-config' import { UserBenchmarkConfig } from '../types/user-benchmark-config' /** * Creates a reporter based on the specified options. * * @param results - An array of results for all test specifications. * @param userConfig - The user's benchmark configuration. * @param format - The format of the report. * @returns The formatted report as a string. */ export declare function createReporter( results: TestSpecResult[], userConfig: UserBenchmarkConfig, format?: ReporterFormat, ): Promise<string>