@redocly/cli
Version:
[@Redocly](https://redocly.com) CLI is your all-in-one OpenAPI utility. It builds, manages, improves, and quality-checks your OpenAPI descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make API g
14 lines (13 loc) • 745 B
TypeScript
import type { OutputFormat } from '@redocly/openapi-core';
import type { RawConfigProcessor } from '@redocly/openapi-core/lib/config';
import type { CommandOptions, Skips, VerifyConfigOptions } from '../types';
import type { CommandArgs } from '../wrapper';
export type LintOptions = {
apis?: string[];
'max-problems': number;
extends?: string[];
format: OutputFormat;
'generate-ignore-file'?: boolean;
} & Omit<Skips, 'skip-decorator'> & VerifyConfigOptions;
export declare function handleLint({ argv, config, version, collectSpecData, }: CommandArgs<LintOptions>): Promise<void>;
export declare function lintConfigCallback(argv: CommandOptions & Record<string, undefined>, version: string): RawConfigProcessor | undefined;