UNPKG

@code-pushup/eslint-plugin

Version:

Code PushUp plugin for detecting problems in source code using ESLint.📋

41 lines (40 loc) • 1.17 kB
export declare const eslintSetupBinding: { slug: string; title: string; packageName: string; isRecommended: typeof isRecommended; prompts: (targetDir: string) => Promise<({ key: string; message: string; type: "input"; default: string; } | { key: string; message: string; type: "confirm"; default: true; })[]>; generateConfig: ({ answers }: import("@code-pushup/models").PluginCodegenInput) => { categories?: { slug: string; refs: { slug: string; weight: number; type: "group" | "audit"; plugin: string; }[]; title: string; description?: string | undefined; docsUrl?: string | undefined; isSkipped?: boolean | undefined; scoreTarget?: number | undefined; }[] | undefined; imports: { moduleSpecifier: string; defaultImport: string; }[]; pluginInit: string[]; }; }; declare function isRecommended(targetDir: string): Promise<boolean>; export {};