UNPKG

eslint-rule-benchmark

Version:

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

20 lines (19 loc) 619 B
import { UserBenchmarkConfig } from '../../types/user-benchmark-config' interface LoadConfigResult { /** The loaded configuration object. */ config: UserBenchmarkConfig /** The path to the configuration file. */ filepath: string } /** * Load the configuration for the benchmark from the current working directory. * Searches for configuration files in various formats in the `benchmark` * directory. * * @param configPath - Optional path to the configuration file. * @returns Load configuration result. */ export declare function loadConfig( configPath?: string, ): Promise<LoadConfigResult> export {}