standardlint
Version:
Extensible standards linter and auditor.
23 lines (20 loc) • 542 B
TypeScript
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 };