From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/tslint/lib/runner.d.ts | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'node_modules/tslint/lib/runner.d.ts') diff --git a/node_modules/tslint/lib/runner.d.ts b/node_modules/tslint/lib/runner.d.ts index d2347f34e..c544d4f03 100644 --- a/node_modules/tslint/lib/runner.d.ts +++ b/node_modules/tslint/lib/runner.d.ts @@ -1,5 +1,4 @@ -/// -export interface IRunnerOptions { +export interface Options { /** * Path to a configuration file. */ @@ -56,16 +55,14 @@ export interface IRunnerOptions { * Whether to enable type checking when linting a project. */ typeCheck?: boolean; - /** - * Whether to show the current TSLint version. - */ - version?: boolean; } -export declare class Runner { - private options; - private outputStream; - private static trimSingleQuotes(str); - constructor(options: IRunnerOptions, outputStream: NodeJS.WritableStream); - run(onComplete: (status: number) => void): void; - private processFiles(onComplete, files, program?); +export declare const enum Status { + Ok = 0, + FatalError = 1, + LintError = 2, +} +export interface Logger { + log(message: string): void; + error(message: string): void; } +export declare function run(options: Options, logger: Logger): Promise; -- cgit v1.2.3