@maniascript/mslint
Version:
ManiaScript linter
14 lines (13 loc) • 495 B
TypeScript
interface Command {
configPath: string | null;
verbose: boolean | null;
displayStats: boolean | null;
displayVersion: boolean | null;
displayHelp: boolean | null;
reportUnusedDisableDirective: boolean | null;
reportDisableDirectiveWithoutDescription: boolean | null;
patterns: string[] | null;
}
declare function parseArguments(args: string[]): Command;
declare function execute(args: string[], cwd?: string): Promise<number>;
export { parseArguments, execute };