10 lines
455 B
TypeScript
10 lines
455 B
TypeScript
|
|
import { DiagnosticLevel } from "../../types.js";
|
||
|
|
import { NormalizedDiagnostic } from "../../logger.js";
|
||
|
|
|
||
|
|
//#region src/checkers/oxlint/cli.d.ts
|
||
|
|
declare function mapSeverity(s: string): DiagnosticLevel;
|
||
|
|
declare function getOxlintCommand(command: string): string[];
|
||
|
|
declare function runOxlint(argv: string[], cwd: string): Promise<NormalizedDiagnostic[]>;
|
||
|
|
//#endregion
|
||
|
|
export { getOxlintCommand, mapSeverity, runOxlint };
|
||
|
|
//# sourceMappingURL=cli.d.ts.map
|