UNPKG

@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

15 lines 713 B
import type { Config, Exact, OutputFormat } from '@redocly/openapi-core'; import type { CommandArgv, VerifyConfigOptions } from '../types.js'; import type { CommandArgs } from '../wrapper.js'; export type LintArgv = { apis?: string[]; 'max-problems': number; extends?: string[]; format: OutputFormat; 'generate-ignore-file'?: boolean; 'skip-rule'?: string[]; 'skip-preprocessor'?: string[]; } & VerifyConfigOptions; export declare function handleLint({ argv, config, version, collectSpecData, }: CommandArgs<LintArgv>): Promise<void>; export declare function handleLintConfig(argv: Exact<CommandArgv>, version: string, config: Config): Promise<void>; //# sourceMappingURL=lint.d.ts.map