ut-tools
Version:
Build and Release management automation package.
25 lines (24 loc) • 774 B
TypeScript
import { Dictionary } from '@stoplight/types';
import { HumanReadableDiagnosticSeverity } from '@stoplight/spectral-core';
export declare type FailSeverity = HumanReadableDiagnosticSeverity;
export declare enum OutputFormat {
JSON = "json",
STYLISH = "stylish",
JUNIT = "junit",
HTML = "html",
TEXT = "text",
TEAMCITY = "teamcity",
PRETTY = "pretty"
}
export interface ILintConfig {
encoding: 'utf8' | 'ascii' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'latin1' | 'binary' | 'hex';
format: OutputFormat[];
output?: Dictionary<string>;
resolver?: string;
ruleset?: string;
stdinFilepath?: string;
ignoreUnknownFormat: boolean;
failOnUnmatchedGlobs: boolean;
verbose?: boolean;
quiet?: boolean;
}