1 | import { NecessaryDependencies } from '../has-necessary-dependencies';
|
2 | import { EventLintCheckCompleted } from '../../telemetry/events/build';
|
3 | declare function lint(deps: NecessaryDependencies, baseDir: string, lintDirs: string[], eslintrcFile: string | null, pkgJsonPath: string | null, eslintOptions?: any, reportErrorsOnly?: boolean): Promise<string | null | {
|
4 | output: string | null;
|
5 | isError: boolean;
|
6 | eventInfo: EventLintCheckCompleted;
|
7 | }>;
|
8 | export declare function runLintCheck(baseDir: string, lintDirs: string[], lintDuringBuild?: boolean, eslintOptions?: any, reportErrorsOnly?: boolean): ReturnType<typeof lint>;
|
9 | export {};
|