UNPKG

standardlint

Version:
23 lines (20 loc) 542 B
import { Check, Severity, IgnorePath, CheckInput, CheckResult } from './Check.js'; type Configuration = { basePath: string; checks: Check[]; defaultSeverity: Severity; ignorePaths: IgnorePath[]; }; type ConfigurationInput = { basePath?: string; checks?: (string | CheckInput)[]; defaultSeverity?: Severity; ignorePaths?: IgnorePath[]; }; type Result = { passes: number; warnings: number; failures: number; results: CheckResult[]; }; export type { Configuration, ConfigurationInput, Result };