eslint-doc-generator
Version:
Automatic documentation generator for ESLint plugins and rules.
10 lines (9 loc) • 473 B
TypeScript
import type { Plugin } from './types.js';
export declare function getPluginRoot(path: string): string;
export declare function loadPlugin(path: string): Promise<Plugin>;
export declare function getPluginPrefix(path: string): string;
/**
* Resolve the path to a file but with the exact filename-casing present on disk.
*/
export declare function getPathWithExactFileNameCasing(path: string): string | undefined;
export declare function getCurrentPackageVersion(): string;