Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
23
node_modules/next/dist/lib/eslint/runLintCheck.d.ts
generated
vendored
Normal file
23
node_modules/next/dist/lib/eslint/runLintCheck.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import type { EventLintCheckCompleted } from '../../telemetry/events/build';
|
||||
declare function lint(baseDir: string, lintDirs: string[], eslintrcFile: string | null, pkgJsonPath: string | null, { lintDuringBuild, eslintOptions, reportErrorsOnly, maxWarnings, formatter, outputFile, }: {
|
||||
lintDuringBuild: boolean;
|
||||
eslintOptions: any;
|
||||
reportErrorsOnly: boolean;
|
||||
maxWarnings: number;
|
||||
formatter: string | null;
|
||||
outputFile: string | null;
|
||||
}): Promise<string | null | {
|
||||
output: string | null;
|
||||
isError: boolean;
|
||||
eventInfo: EventLintCheckCompleted;
|
||||
}>;
|
||||
export declare function runLintCheck(baseDir: string, lintDirs: string[], opts: {
|
||||
lintDuringBuild?: boolean;
|
||||
eslintOptions?: any;
|
||||
reportErrorsOnly?: boolean;
|
||||
maxWarnings?: number;
|
||||
formatter?: string | null;
|
||||
outputFile?: string | null;
|
||||
strict?: boolean;
|
||||
}): ReturnType<typeof lint>;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue