UNPKG

next

Version:

The React Framework

9 lines (8 loc) 687 B
import { EventLintCheckCompleted } from '../../telemetry/events/build'; declare function lint(baseDir: string, lintDirs: string[], eslintrcFile: string | null, pkgJsonPath: string | null, lintDuringBuild?: boolean, eslintOptions?: any, reportErrorsOnly?: boolean, maxWarnings?: number, formatter?: string | null): Promise<string | null | { output: string | null; isError: boolean; eventInfo: EventLintCheckCompleted; }>; export declare function runLintCheck(baseDir: string, lintDirs: string[], lintDuringBuild?: boolean, eslintOptions?: any, reportErrorsOnly?: boolean, maxWarnings?: number, formatter?: string | null, strict?: boolean): ReturnType<typeof lint>; export {};