@stoplight/spectral
Version:
A flexible object linter with out of the box support for OpenAPI v2 and v3.
7 lines (6 loc) • 450 B
TypeScript
import { ConfigCommand, IConfig } from '../types/config';
export declare const load: (filePath: string, command: ConfigCommand) => Promise<IConfig>;
export declare const validate: (config: IConfig, command: ConfigCommand) => void;
export declare const normalize: (config: IConfig, command: ConfigCommand) => void;
export declare const createEmptyConfig: () => IConfig;
export declare const getDefaultConfigFile: (directory: string) => string | null;