@infctr/eslint-docs
Version:
Keep your rule names and descriptions up-to-date across your repo
15 lines (14 loc) • 349 B
TypeScript
export interface Paths {
rulesDir: string;
docsDir: string;
readmePath: string;
pluginName: string;
}
declare type Handlers = {
[K in keyof Paths]: (projectRoot: string) => string;
};
export declare const handlers: Handlers;
export declare function register(projectRoot: string): Paths & {
projectRoot: string;
};
export {};