UNPKG

@stoplight/spectral

Version:

A flexible object linter with out of the box support for OpenAPI v2 and v3.

21 lines (20 loc) 408 B
export declare enum ConfigFormat { JSON = "json", STYLISH = "stylish" } export declare enum ConfigCommand { LINT = "lint" } export interface ILintConfig { encoding: string; format: ConfigFormat; maxResults?: number; output?: string; ruleset?: string[]; skipRule?: string[]; verbose: boolean; } export interface IConfig { extends?: string; lint: ILintConfig; }