knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
6 lines (5 loc) • 472 B
TypeScript
import type { PluginOptions } from '../../types/config.js';
import { type ConfigInput, type Input } from '../../util/input.js';
import type { ESLintConfig, ESLintConfigDeprecated, OverrideConfigDeprecated } from './types.js';
export declare const getInputs: (config: ESLintConfigDeprecated | OverrideConfigDeprecated | ESLintConfig, options: PluginOptions) => (Input | ConfigInput)[];
export declare const resolveFormatters: (formatters: string | string[]) => Set<Input>;